Skip to content

Commit

Permalink
sep host socet dirs for prod/staging
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Hamman committed May 1, 2019
1 parent 26d57fd commit 24ff4f5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
3 changes: 3 additions & 0 deletions deploy/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ binderhub:
hosts:
- binder.pangeo.io

dind:
hostSocketDir: /var/run/dind/prod/docker.sock

jupyterhub:
singleuser:
nodeSelector:
Expand Down
14 changes: 10 additions & 4 deletions deploy/staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ binderhub:
hosts:
- staging.binder.pangeo.io

dind:
hostSocketDir: /var/run/dind/staging/docker.sock
resources:
requests:
cpu: "1"
memory: 2Gi
limits:
cpu: "2"
memory: 4Gi

jupyterhub:
singleuser:
nodeSelector:
Expand All @@ -32,10 +42,6 @@ binderhub:
- secretName: kubelego-tls-jupyterhub-staging
hosts:
- hub.staging.binder.pangeo.io
# scheduling:
# userScheduler:
# nodeSelector:
# cloud.google.com/gke-nodepool: default-pool

kube-lego:
nodeSelector:
Expand Down
7 changes: 7 additions & 0 deletions helm-chart/pangeo-binder/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ binderhub:
image:
name: docker
tag: 18.09.2-dind
resources:
requests:
cpu: "2"
memory: 8Gi
limits:
cpu: "5"
memory: 12Gi

imageCleaner:
enabled: true
Expand Down

0 comments on commit 24ff4f5

Please sign in to comment.