目前,JupyterHub支持在Kubernetes上的Helm Chart安裝,(2018.06)最新版本是0.6。html
JupyterHub 使得對多個用戶提供不一樣的Jupyter服務實例成爲可能(Jupyter自己已經能夠讓多個用戶使用同一個實例,並且共享裏面的數據和代碼)。經過 JupyterHub Helm Chart,能夠進一步安裝到 kubernetes 中去運行,從而使JupyterHub 具備更好的伸縮性、穩定性和靈活性,甚至於能夠在同一個集羣中運行多個隔離的JupyterHub環境,方便地進行數據探索和模型測試,快速進行環境遷移部署,支持運行資源的調配和狀態監控。git
咱們JupyterHub團隊很是高興滴宣佈JupyterHub Helm Chart的新版本: version 0.5發佈(本文翻譯時已經是0.6)。這裏描述了該release的新特性.。We’ve nicknamed the releases of the JupyterHub Helm Chart after famous cricketers, in this case world-class bowler Hamid Hassan*.github
該版本應用JupyterHub 0.8, 加入了更好的HTTPS 支持,改進了伸縮性到 ~4,000 同時用戶。查看 Helm Chart Changelog 得到更多信息。web
添加到v0.5的新特性:session
JupyterHub 0.8 包含了不少新特性,其中不少得益於JupyterHub到 Kubernetes的部署,下面是與 Helm Chart configuration 有關的說明:ide
hub.concurrentSpawnLimit
.hub.activeServerLimit
.0.5G
instead of having to use 512M
.Version 0.5 of the helm chart makes it easier for admins to set up HTTPS for their users with Let’s Encrypt. Users often access a JupyterHub instance from a public URL. To avoid nefarious behavior and increase security, using HTTPS is important. You can now choose to use Let’s Encrypt or a valid HTTPS certificate and key. You can also use your own HTTPS certificates & keys rather than using Let’s Encrypt. You can find the new instructions here.oop
Authenticators allow you to control who has access to your JupyterHub. The following new authentication providers have been added in 0.5:gitlab
You can now also set up a whitelist of usernames that have access to the hub (in addition to other authenticators in use). Do so by adding to the list in auth.whitelist.users
.測試
Services let you connect your JupyerHub to other web services (for example, in mybinder.org). You can now add external JupyterHub Services by adding them to hub.services
. Note that you are still responsible for actually running the service somewhere (perhaps as a deployment object in Kubernetes).ui
jupyterhub_config.py
Sometimes it is useful to be able to run arbitrary extra code when setting up your deployment. You can put extra snippets of jupyterhub_config.py
configuration in hub.extraConfig
. Now you can also add extra environment variables to the hub in hub.extraEnv
and extra configmap items via hub.extraConfigMap
. This makes it cleaner to customize the hub's configuration in ways that are not yet possible with config.yaml
. You can find more information in the documentation.
More options have been added under singleuser
to help you customize the environment that the user session is spawned in. You can…
singleuser.uid
and singleuser.fsGid
singleuser.storage.extraVolumes
& singleuser.storage.extraVolumeMounts
singleuser.extraEnv
.*Hamid Hassan is a fast bowler who currently plays for the Afghanistan National Cricket Team. With nicknames ranging from 「Afghanistan’s David Beckham」 to 「Rambo」, he is considered by many to be Afghanistan’s first Cricket Superhero. Currently known for fast (145km/h+) deliveries, cartwheeling celebrations, war painted face and having had to flee Afghanistan as a child to escape from war. He says he plays because 「We are ambassadors for our country and we want to show the world that Afghanistan is not like people recognize it by terrorists and these things. We want them to know that we have a lot of talent as well.」