Skip to content
Snippets Groups Projects
Commit 2a3dac08 authored by youngsuKim-CSUSB's avatar youngsuKim-CSUSB
Browse files

Add nodeSelector

parent 9644ba9b
No related branches found
No related tags found
1 merge request!13Remove init container
Pipeline #25731 passed
...@@ -59,6 +59,39 @@ hub: ...@@ -59,6 +59,39 @@ hub:
custom_spawn_pending_html: custom_spawn_pending_html:
mountPath: /etc/jupyterhub/custom/spawn_pending.html mountPath: /etc/jupyterhub/custom/spawn_pending.html
nodeSelector:
topology.kubernetes.io/region: "us-west"
kubernetes.io/hostname: "perfsonar.csusb.edu"
# env: system
image:
name: jupyterhub/k8s-hub
tag: '1.2.0'
pullPolicy: ''
pullSecrets: []
livenessProbe:
# The livenessProbe's aim to give JupyterHub sufficient time to startup but
# be able to restart if it becomes unresponsive for ~5 min.
enabled: true
initialDelaySeconds: 300
periodSeconds: 10
failureThreshold: 30
timeoutSeconds: 3
readinessProbe:
# The readinessProbe's aim is to provide a successful startup indication,
# but following that never become unready before its livenessProbe fail and
# restarts it if needed. To become unready following startup serves no
# purpose as there are no other pod to fallback to in our non-HA deployment.
enabled: true
initialDelaySeconds: 0
periodSeconds: 2
failureThreshold: 1000
timeoutSeconds: 1
service: service:
type: ClusterIP type: ClusterIP
annotations: {} annotations: {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment