Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schedule dask gateway pods with user-scheduler #846

Merged
merged 1 commit into from
Nov 5, 2020
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
12 changes: 12 additions & 0 deletions deployments/gcp-uscentral1b/config/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,15 @@ daskhub:
hub:
extraEnv:
OAUTH_CALLBACK_URL: "https://us-central1-b.gcp.pangeo.io/hub/oauth_callback"

dask-gateway:
backend:
# Ensure the scheduler and worker pods end up on
# nodes that are already being used, to avoid scheduling on nodes
# that would otherwise be reclaimed by the cluster autoscaler.
scheduler:
extraPodConfig:
schedulerName: gcp-uscentral1b-prod-user-scheduler
worker:
extraPodConfig:
schedulerName: gcp-uscentral1b-prod-user-scheduler
11 changes: 11 additions & 0 deletions deployments/gcp-uscentral1b/config/staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ daskhub:
scheduling:
userScheduler:
enabled: false
dask-gateway:
backend:
# Ensure the scheduler and worker pods end up on
# nodes that are already being used, to avoid scheduling on nodes
# that would otherwise be reclaimed by the cluster autoscaler.
scheduler:
extraPodConfig:
schedulerName: gcp-uscentral1b-staging-user-scheduler
worker:
extraPodConfig:
schedulerName: gcp-uscentral1b-staging-user-scheduler

metrics:
enabled: true
Expand Down
12 changes: 12 additions & 0 deletions deployments/icesat2/config/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,15 @@ daskhub:
- aws-uswest2.pangeo.io
letsencrypt:
contactEmail: [email protected]

dask-gateway:
backend:
# Ensure the scheduler and worker pods end up on
# nodes that are already being used, to avoid scheduling on nodes
# that would otherwise be reclaimed by the cluster autoscaler.
scheduler:
extraPodConfig:
schedulerName: icesat2-prod-user-scheduler
worker:
extraPodConfig:
schedulerName: icesat2-prod-staging-user-scheduler
12 changes: 12 additions & 0 deletions deployments/icesat2/config/staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,15 @@ daskhub:
- staging.aws-uswest2.pangeo.io
letsencrypt:
contactEmail: [email protected]

dask-gateway:
backend:
# Ensure the scheduler and worker pods end up on
# nodes that are already being used, to avoid scheduling on nodes
# that would otherwise be reclaimed by the cluster autoscaler.
scheduler:
extraPodConfig:
schedulerName: icesat2-staging-user-scheduler
worker:
extraPodConfig:
schedulerName: icesat2-staging-user-scheduler