Skip to content

Commit

Permalink
Restore Gateway tolerations
Browse files Browse the repository at this point in the history
This may be the cause of the schedulers / workers not starting. They
were dropped during the daskhub migration.
  • Loading branch information
TomAugspurger committed Sep 18, 2020
1 parent ac4216c commit 37fef64
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pangeo-deploy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ daskhub:
scheduler:
extraPodConfig:
serviceAccountName: pangeo
tolerations:
- key: "k8s.dask.org/dedicated"
operator: "Equal"
value: "scheduler"
effect: "NoSchedule"
- key: "k8s.dask.org_dedicated"
operator: "Equal"
value: "scheduler"
effect: "NoSchedule"
worker:
extraContainerConfig:
securityContext:
Expand All @@ -66,6 +75,15 @@ daskhub:
automountServiceAccountToken: true
securityContext:
fsGroup: 1000
tolerations:
- key: "k8s.dask.org/dedicated"
operator: "Equal"
value: "worker"
effect: "NoSchedule"
- key: "k8s.dask.org_dedicated"
operator: "Equal"
value: "worker"
effect: "NoSchedule"

# TODO: figure out a replacement for userLimits.
extraConfig:
Expand Down

0 comments on commit 37fef64

Please sign in to comment.