• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

skai-x/elastic-jupyter-operator: Cloud-native way to provide elastic Jupyter Not ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

skai-x/elastic-jupyter-operator

开源软件地址:

https://github.com/skai-x/elastic-jupyter-operator

开源编程语言:

Go 94.9%

开源软件介绍:

elastic-jupyter-operator

Elastic Jupyter Notebooks on Kubernetes

Motivation

Jupyter is a free, open-source, interactive web tool known as a computational notebook, which researchers can use to combine software code, computational output, explanatory text, and multimedia resources in a single document.

For data scientists and machine learning engineers, Jupyter has emerged as a de facto standard. At the same time, there has been growing criticism that the way notebooks are being used leads to low resource utilization.

GPU and other hardware resources will be bound to the specified notebooks even if the data scientists do not need them currently. This project proposes some Kubernetes CRDs to solve these problems.

Introduction

elastic-jupyter-operator provides elastic Jupyter notebook services with these features:

  • Provide users the out-of-box Jupyter notebooks on Kubernetes.
  • Autoscale Jupyter kernels when the kernels are not used within the given time frame to increase the resource utilization.
  • Customize the kernel configuration in runtime without restarting the notebook.

Figure 1. elastic-jupyter-operator

Figure 2. Other Jupyter on Kubernetes solutions

Deploy

kubectl apply -f ./hack/enterprise_gateway/prepare.yaml
make deploy

Quickstart

You can follow the quickstart to create the notebook server and kernel in Kubernetes like this:

NAME                                                           READY   STATUS    RESTARTS   AGE
jovyan-fd191444-b08c-4668-ba4e-3748a54a0ac1-5789574d66-tb5cm   1/1     Running   0          146m
jupytergateway-sample-858bbc8d5c-xds44                         1/1     Running   0          3h46m
jupyternotebook-sample-5bf7d9d9fb-pdv9b                        1/1     Running   10         77d

There are three pods running in the demo:

  • jupyternotebook-sample-5bf7d9d9fb-pdv9b is the notebook server
  • jupytergateway-sample-858bbc8d5c-xds44 is the jupyter gateway to support remote kernels
  • jovyan-fd191444-b08c-4668-ba4e-3748a54a0ac1-5789574d66-tb5cm is the remote kernel

The kernel will be deleted if the notebook does not use it in 10 mins. And it will be recreated if there is any new run in the notebook.

Community

Please join Discord

Design

Please refer to design doc

API Documentation

Please refer to API doc

Special Thanks




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap