Skip to content

Commit

Permalink
Merge pull request #744 from TomAugspurger/restore-tolerations
Browse files Browse the repository at this point in the history
Restore Gateway tolerations
  • Loading branch information
TomAugspurger committed Sep 18, 2020
2 parents a2bd13b + 37fef64 commit 629c97d
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 629c97d

Please sign in to comment.