Data/Jupyterhub
Jupyterhub) notebook이미지 설정하기_profileList
MightyTedKim
2022. 3. 29. 17:21
728x90
반응형
1. notebook image 설정
이제 notebook image를 수정해줌
$ config.yaml # singleuser relates to the configuration of KubeSpawner which runs in the hub # pod, and its spawning of user pods such as jupyter-myusername. singleuser: image: name: private-repo.***/library/jupyter/pyspark-notebook tag: latest #name: private-repo.***/library/jupyterhub/k8s-singleuser-sample #tag: "1.2.0-20211123" pullPolicy: Always pullSecrets: [] startTimeout: 300 cpu: limit: guarantee: memory: limit: guarantee: 8G #1G extraResource: limits: {} guarantees: {} #cmd: jupyterhub-singleuser #defaultUrl: #extraPodConfig: {} #profileList: []i cmd: ["/usr/local/bin/start.sh", "jupyterhub-singleuser"] defaultUrl: "/lab" extraPodConfig: {} profileList: - display_name: "pyspark-notebook" description: "scipy-notebook, Apache Spark, pyarrow lib" default: true - display_name: "tensorflow-notebook" description: "scipy-notebook, tensorflow lib" kubespawner_override: image: private-repo.***/library/jupyter/tensorflow-notebook:tensorflow-2.6.0 - display_name: "all-in-one-notebook" description: "scipy, pycpark, apache spark, pyarrow, tensor-flow" kubespawner_override: image: private-repo.***/library/all-in-one-spark-notebook:latest |
필요한 이미지는 여기서
https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html
gitalb -> gitlab runner -> harbor => jupyterhub user 이런식으로 관리하면 편하다
728x90
반응형