ゼロから作るKubernetesによるJupyter as a Service ー Kubernetes Meetup Tokyo #43Preferred Networks
Preferred Networksでは新物質開発や材料探索を加速する汎用原子レベルシミュレータを利用できるクラウドサービスを開発しています。 顧客毎に独立した環境にユーザがJupyter Notebookを立ち上げ、自社PyPIパッケージによりAPI経由で弊社独自技術を簡単に利用できます。Kubernetesの機能を駆使してマルチテナント環境を構築しており、各顧客に独立したAPIサーバを提供し、その負荷状況によりAPIサーバをスケーリングさせたり、顧客毎にNotebookに対する通信制限や配置Nodeの制御などを実現しています。
本発表ではKubernetesによるマルチテナントJupyter as a Serviceの実現方法を紹介します。
ゼロから作るKubernetesによるJupyter as a Service ー Kubernetes Meetup Tokyo #43Preferred Networks
Preferred Networksでは新物質開発や材料探索を加速する汎用原子レベルシミュレータを利用できるクラウドサービスを開発しています。 顧客毎に独立した環境にユーザがJupyter Notebookを立ち上げ、自社PyPIパッケージによりAPI経由で弊社独自技術を簡単に利用できます。Kubernetesの機能を駆使してマルチテナント環境を構築しており、各顧客に独立したAPIサーバを提供し、その負荷状況によりAPIサーバをスケーリングさせたり、顧客毎にNotebookに対する通信制限や配置Nodeの制御などを実現しています。
本発表ではKubernetesによるマルチテナントJupyter as a Serviceの実現方法を紹介します。
60. Attribute Database
Attribute Handle Attribute Type Attribute Value
0x0001 Primary Service GAP Service
0x0002 Characteristic Device Name
0x0003 Device Name “device name”
0x0004 Characteristic Appearance
0x0005 Appearance “DEVICE”
0x0006 Primary Service GATT Service
61. Attribute Permissions
• Readable
• Writable
• Readable and Writable
• Authentication required
• No authentication required
• No authorization
• Authorization
64. Attribute Protocol(2)
Client Server
ATT Indication
ATT Confirmation
Indication
Client Server
ATT Notification
Notification
65. Attribute Protocol Opcode
Exchange MTU Request 0x02
Find Information Request 0x04
Find By Type Value Request 0x06
Read By Type Request 0x08
Read Request 0x0a
Read Brob Request 0x0c
Read Multiple Request 0x0e
Read By Group Type Request 0x10
Write Request 0x12
Write Command 0x52
Error Response 0x01
Exchange MTU Response 0x03
Find Information Response 0x05
Find By Type Value Response 0x07
Read By Type Response 0x09
Read Response 0x0b
Read Brob Response 0x0d
Read Multiple Response 0x0f
Read By Group Type Response 0x11
Write Response 0x13
- -
Handle Value Notification 0x1b
Handle Value Indication 0x1d Handle Value Confirmation 0x1e