Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions config/clusters/awi-ciroh/workshop.values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
basehub:
# Enable node placeholders, to ensure capacity at first login
nodePlaceholder:
enabled: true
nodeSelector:
node.kubernetes.io/instance-type: n4-standard-16
replicas: 0
jupyterhub-home-nfs:
nodeSelector:
cloud.google.com/gke-nodepool: workshop-temp-nfs
Expand All @@ -13,7 +19,12 @@ basehub:
config:
QuotaManager:
hard_quota: 40 # in GiB
# Ensure that placeholder nodes are densely packed, making instance-type
# easier to scale down.
jupyterhub:
scheduling:
userScheduler:
enabled: true
custom:
singleuserAdmin:
extraVolumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ spec:
matchLabels:
app: jupyterhub
component: node-placeholder
{{- if .Values.nodePlaceholder.wait }}
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 100%
maxSurge: 0
{{- end }}
template:
metadata:
labels:
Expand Down
3 changes: 3 additions & 0 deletions helm-charts/basehub/values.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ properties:
- tolerations
- extraTolerations
- pauseContainer
- wait
properties:
enabled:
type: boolean
Expand All @@ -151,6 +152,8 @@ properties:
description: |
Tolerations allow a pod to be scheduled on nodes with taints.
extraTolerations: *tolerations-spec
wait:
type: boolean
inClusterNFS:
type: object
additionalProperties: false
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/basehub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ nodePlaceholder:
value: user
effect: NoSchedule
extraTolerations: []
# Don't wait for the placeholders to be ready
wait: false

# Use NFS provided by an in cluster server with the nfs-external-provisioner chart
inClusterNFS:
Expand Down
Loading