Skip to content

Commit

Permalink
Prevent attempts to pull busybox on each startup
Browse files Browse the repository at this point in the history
This makes each user server start faster, as kubernetes
doesn't try to reach out to the docker registry to check
for correct version of the busybox image to pull each time
a user server starts.

Follow-up to 2i2c-org#3165
  • Loading branch information
yuvipanda committed Sep 28, 2023
1 parent 17fdee7 commit 5419619
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion config/clusters/2i2c-aws-us/itcoocean.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jupyterhub:
readOnly: false
initContainers:
- name: volume-mount-ownership-fix
image: busybox
image: buxybox:1.36
command:
[
"sh",
Expand Down
2 changes: 1 addition & 1 deletion config/clusters/2i2c/climatematch.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jupyterhub:
readOnly: true
initContainers:
- name: volume-mount-ownership-fix
image: busybox
image: buxybox:1.36
command:
[
"sh",
Expand Down
2 changes: 1 addition & 1 deletion config/clusters/jupyter-meets-the-earth/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ basehub:
# Need to explicitly set this up and copy what's in basehub/values.yaml
# as we have an extra 'shared-public' directory here.
- name: volume-mount-ownership-fix
image: busybox
image: buxybox:1.36
command:
[
"sh",
Expand Down
2 changes: 1 addition & 1 deletion config/clusters/nasa-cryo/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ basehub:
readOnly: true
initContainers:
- name: volume-mount-ownership-fix
image: busybox
image: buxybox:1.36
command:
[
"sh",
Expand Down
4 changes: 2 additions & 2 deletions config/clusters/nasa-veda/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ basehub:
# Need to explicitly fix ownership here, as otherwise these directories will be owned
# by root on most NFS filesystems - neither EFS nor Google Filestore support anonuid
- name: volume-mount-ownership-fix
image: busybox
image: buxybox:1.36
command:
[
"sh",
Expand Down Expand Up @@ -160,7 +160,7 @@ basehub:
# Need to explicitly fix ownership here, as otherwise these directories will be owned
# by root on most NFS filesystems - neither EFS nor Google Filestore support anonuid
- name: volume-mount-ownership-fix
image: busybox
image: buxybox:1.36
command:
[
"sh",
Expand Down
2 changes: 1 addition & 1 deletion config/clusters/qcl/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ jupyterhub:
readOnly: true
initContainers:
- name: volume-mount-ownership-fix
image: busybox
image: buxybox:1.36
command:
[
"sh",
Expand Down
2 changes: 1 addition & 1 deletion docs/howto/features/per-user-db.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jupyterhub:
# since initContainers is a list, setting this here overwrites the chowning
# initContainer we have set in basehub/values.yaml
- name: volume-mount-ownership-fix
image: busybox
image: busybox:1.36
command:
[
"sh",
Expand Down
2 changes: 1 addition & 1 deletion docs/topic/infrastructure/storage-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jupyterhub:
readOnly: true
initContainers:
- name: volume-mount-ownership-fix
image: busybox
image: buxybox:1.36
command:
[
"sh",
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/basehub/templates/nfs-share-creator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:

containers:
- name: dummy
image: busybox
image: busybox:1.36
env:
- name: NFS_SHARE_NAME
value: "{{ .Values.nfs.pv.baseShareName }}{{ .Release.Name }}"
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/basehub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jupyterhub:
# by root on most NFS filesystems - neither EFS nor Google Filestore support anonuid
initContainers:
- name: volume-mount-ownership-fix
image: busybox
image: busybox:1.36
command:
[
"sh",
Expand Down

0 comments on commit 5419619

Please sign in to comment.