propogate same changes to another value files
This commit is contained in:
parent
cee520522b
commit
e4159b2166
|
|
@ -10,6 +10,17 @@ jupyterhub:
|
||||||
name: jupyterhub/k8s-singleuser-sample
|
name: jupyterhub/k8s-singleuser-sample
|
||||||
tag: "4.2.0"
|
tag: "4.2.0"
|
||||||
initContainers:
|
initContainers:
|
||||||
|
# This init cntainer makes sure that home folder that we mount has correct owner
|
||||||
|
- name: chown-home-mount-dir
|
||||||
|
image: jupyterhub/k8s-singleuser-sample:4.2.0
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
|
command: ["chown", "jovyan", "/home/jovyan"]
|
||||||
|
volumeMounts:
|
||||||
|
- name: home
|
||||||
|
mountPath: /home/jovyan
|
||||||
|
subPath: jupyterhub_workspace
|
||||||
|
|
||||||
- name: model-initializer
|
- name: model-initializer
|
||||||
image: jupyterhub/k8s-singleuser-sample:4.2.0
|
image: jupyterhub/k8s-singleuser-sample:4.2.0
|
||||||
env:
|
env:
|
||||||
|
|
@ -40,7 +51,7 @@ jupyterhub:
|
||||||
# We mount it to initContainer too, so all downloads and installations are persisted in this mounted home folder.
|
# We mount it to initContainer too, so all downloads and installations are persisted in this mounted home folder.
|
||||||
- name: home
|
- name: home
|
||||||
mountPath: /home/jovyan
|
mountPath: /home/jovyan
|
||||||
subPath: admin
|
subPath: jupyterhub_workspace
|
||||||
- name: "download-models-py"
|
- name: "download-models-py"
|
||||||
mountPath: /tmp/download_models.py
|
mountPath: /tmp/download_models.py
|
||||||
subPath: download_models.py
|
subPath: download_models.py
|
||||||
|
|
@ -57,7 +68,7 @@ jupyterhub:
|
||||||
type: static
|
type: static
|
||||||
static:
|
static:
|
||||||
pvcName: "ai-starter-kit-models-cache-pvc"
|
pvcName: "ai-starter-kit-models-cache-pvc"
|
||||||
subPath: "{username}"
|
subPath: "jupyterhub_workspace"
|
||||||
capacity: 20Gi
|
capacity: 20Gi
|
||||||
homeMountPath: /home/jovyan
|
homeMountPath: /home/jovyan
|
||||||
extraVolumes:
|
extraVolumes:
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,17 @@ jupyterhub:
|
||||||
name: jupyterhub/k8s-singleuser-sample
|
name: jupyterhub/k8s-singleuser-sample
|
||||||
tag: "4.2.0"
|
tag: "4.2.0"
|
||||||
initContainers:
|
initContainers:
|
||||||
|
# This init cntainer makes sure that home folder that we mount has correct owner
|
||||||
|
- name: chown-home-mount-dir
|
||||||
|
image: jupyterhub/k8s-singleuser-sample:4.2.0
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
|
command: ["chown", "jovyan", "/home/jovyan"]
|
||||||
|
volumeMounts:
|
||||||
|
- name: home
|
||||||
|
mountPath: /home/jovyan
|
||||||
|
subPath: jupyterhub_workspace
|
||||||
|
|
||||||
- name: model-initializer
|
- name: model-initializer
|
||||||
image: jupyterhub/k8s-singleuser-sample:4.2.0
|
image: jupyterhub/k8s-singleuser-sample:4.2.0
|
||||||
env:
|
env:
|
||||||
|
|
@ -41,7 +52,7 @@ jupyterhub:
|
||||||
# We mount it to initContainer too, so all downloads and installations are persisted in this mounted home folder.
|
# We mount it to initContainer too, so all downloads and installations are persisted in this mounted home folder.
|
||||||
- name: home
|
- name: home
|
||||||
mountPath: /home/jovyan
|
mountPath: /home/jovyan
|
||||||
subPath: admin
|
subPath: jupyterhub_workspace
|
||||||
- name: "download-models-py"
|
- name: "download-models-py"
|
||||||
mountPath: /tmp/download_models.py
|
mountPath: /tmp/download_models.py
|
||||||
subPath: download_models.py
|
subPath: download_models.py
|
||||||
|
|
@ -58,7 +69,7 @@ jupyterhub:
|
||||||
type: static
|
type: static
|
||||||
static:
|
static:
|
||||||
pvcName: "ai-starter-kit-models-cache-pvc"
|
pvcName: "ai-starter-kit-models-cache-pvc"
|
||||||
subPath: "{username}"
|
subPath: "jupyterhub_workspace"
|
||||||
capacity: 20Gi
|
capacity: 20Gi
|
||||||
homeMountPath: /home/jovyan
|
homeMountPath: /home/jovyan
|
||||||
extraVolumes:
|
extraVolumes:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue