Skip to content

Commit

Permalink
updates for cinder-csi and jupyterhub 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zonca committed Mar 17, 2022
1 parent b2aff12 commit 38ae557
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 28 deletions.
44 changes: 23 additions & 21 deletions config_standard_storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,29 @@ hub:
accessModes:
- ReadWriteOnce
storage: 1Gi
storageClassName: standard
# run only on master nodes
nodeSelector:
node-role.kubernetes.io/master: ""
extraConfig: |
c.Spawner.http_timeout = 90
c.Spawner.args = [
"--ResourceUseDisplay.track_cpu_percent=True",
]
tolerations:
- key: "node-role.kubernetes.io/master"
operator: Exists
storageClassName: cinder-csi
extraConfig:
timeout.py: |
c.Spawner.http_timeout = 90
track_cpu.py: |
c.Spawner.args = [
"--ResourceUseDisplay.track_cpu_percent=True",
]
# # run only on master nodes
# nodeSelector:
# node-role.kubernetes.io/master: ""
# tolerations:
# - key: "node-role.kubernetes.io/master"
# operator: Exists

proxy:
# run only on master nodes
chp:
nodeSelector:
node-role.kubernetes.io/master: ""
tolerations:
- key: "node-role.kubernetes.io/master"
operator: Exists
# proxy:
# # run only on master nodes
# chp:
# nodeSelector:
# node-role.kubernetes.io/master: ""
# tolerations:
# - key: "node-role.kubernetes.io/master"
# operator: Exists

singleuser:
memory:
Expand Down Expand Up @@ -53,7 +55,7 @@ singleuser:
type: dynamic
capacity: 10Gi
dynamic:
storageClass: standard
storageClass: cinder-csi
extraVolumes:
- name: cvmfs-nfs-volume
nfs:
Expand Down
4 changes: 2 additions & 2 deletions cvmfs/cvmfs_pvc_services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
accessModes:
- ReadWriteOnce
storageClassName: standard
storageClassName: cinder-csi
resources:
requests:
storage: 200Gi
Expand All @@ -19,7 +19,7 @@ metadata:
spec:
accessModes:
- ReadWriteOnce
storageClassName: standard
storageClassName: cinder-csi
resources:
requests:
storage: 1Gi
Expand Down
4 changes: 0 additions & 4 deletions cvmfs/deployment_cvms_nfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ spec:
persistentVolumeClaim:
claimName: data-pv-claim
restartPolicy: Always
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
containers:
- image: zonca/cvmfs-client-nfs
imagePullPolicy: Always
Expand Down
2 changes: 1 addition & 1 deletion cvmfs/nfs_data_volume.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
accessModes:
- ReadWriteOnce
storageClassName: standard
storageClassName: cinder-csi
resources:
requests:
storage: 500Gi

0 comments on commit 38ae557

Please sign in to comment.