博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
JupyterHub on Kubernetes-- Helm Chart简介
阅读量:6801 次
发布时间:2019-06-26

本文共 4227 字,大约阅读时间需要 14 分钟。

hot3.png

JupyterHub on Kubernetes-- Helm Chart简介

目前,JupyterHub支持在Kubernetes上的Helm Chart安装,(2018.06)最新版本是0.6。

  • 本文来源,
  • 本文地址,,by openthings,2018-06.28.
  • 更多内容,参考 。
  • 参考资料:
    • 官方文档,
    • 开发源码,
    • Helm项目,
    • 部署JupyterHub到Kubernetes,

JupyterHub 使得对多个用户提供不同的Jupyter服务实例成为可能(Jupyter本身已经可以让多个用户使用同一个实例,而且共享里面的数据和代码)。通过 JupyterHub Helm Chart,可以进一步安装到 中去运行,从而使JupyterHub 具有更好的伸缩性、稳定性和灵活性,甚至于可以在同一个集群中运行多个隔离的JupyterHub环境,方便地进行数据探索和模型测试,快速进行环境迁移部署,支持运行资源的调配和状态监控。

我们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 .

该版本应用JupyterHub 0.8, 加入了更好的HTTPS 支持,改进了伸缩性到 ~4,000 同时用户。查看 获得更多信息。

新特性

添加到v0.5的新特性:

JupyterHub 0.8

 JupyterHub 0.8 包含了很多新特性,其中很多得益于JupyterHub到 Kubernetes的部署,下面是与 有关的说明:

  1. Lots of performance improvements. We now know we can handle up to 4k active users.
  2. Limit the number of users who can try to launch the hub at once. This can be tuned to avoid crashes when hundreds of users try to launch at the same time. It gives them a friendly error message and asks them to try later. See hub.concurrentSpawnLimit.
  3. Limit the number of simultaneous active users . The Active Server limit can be used to limit the total number of active users that can use the hub at any given time. This allows admins to control the size of their clusters more effectively. See hub.activeServerLimit.
  4. Memory limits & guarantees can now contain fractional units. So you can say 0.5G instead of having to use 512M.
  5. No more ‘too many redirects’ errors at scale. This fixes an annoying race condition causing users to get stuck in a redirect loop when starting their servers.

Easier HTTPS

Version 0.5 of the helm chart makes it easier for admins to set up HTTPS for their users with . 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 .

More authenticators

Authenticators allow you to control who has access to your JupyterHub. The following new authentication providers have been added in 0.5:

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.

Hub Services support

Services let you connect your JupyerHub to other web services (for example, in ). You can now add 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).

More customization with 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 to the hub in hub.extraEnv and 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 .

More customization options for user server environments

More options have been added under singleuser to help you customize the environment that the user session is spawned in. You can…

  • Change the uid / gid of the user with singleuser.uid and singleuser.fsGid
  • Mount extra volumes with singleuser.storage.extraVolumes & singleuser.storage.extraVolumeMounts
  • Provide extra environment variables with singleuser.extraEnv.

More information

*Hamid Hassan is a fast bowler who currently plays for the Afghanistan National Cricket Team. With nicknames ranging from to , 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 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.”

转载于:https://my.oschina.net/u/2306127/blog/1836175

你可能感兴趣的文章
用php实现异步执行任务的队列(一)
查看>>
AngularJS表单验证操作例子分享
查看>>
RabbitMQ 的安装与工作模式
查看>>
视图的跳转,ViewController的使用 。试图出现启动消失过程
查看>>
博科300光纤交换机配置手册/操作方法/密码设置/用户指南大全
查看>>
HTML Dom
查看>>
Linux下为PHP添加扩展库的方法
查看>>
HBase(四):HBase API判断表是否存在,结果问题爆棚。。
查看>>
宏定义冲突
查看>>
cobbler-自动化部署
查看>>
我的友情链接
查看>>
tracepath
查看>>
java多线程基础复习
查看>>
我的友情链接
查看>>
iOS:使用minimumScaleFactor控制字体大小自适应
查看>>
Android Zxing条码扫描自定义控件(附代码)
查看>>
Netty学习笔记之Netty之初印象(一)
查看>>
centos7上安装knock
查看>>
Google 镜像站搜集
查看>>
Python 分布式进程间通讯
查看>>