Skip to content

Commit

Permalink
Also schedule user pods on smallest node instance
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgianaElena committed Jul 9, 2024
1 parent d8c1acc commit f3d9877
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/clusters/2i2c/binderhub-ui-demo.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jupyterhub:
singleuserAdmin:
extraVolumeMounts: []
singleuser:
nodeSelector:
# Schedule users on the smallest instance
# https://github.com/2i2c-org/infrastructure/issues/4241
node.kubernetes.io/instance-type: n2-highmem-4
storage:
type: none
extraVolumeMounts: []
Expand Down
4 changes: 4 additions & 0 deletions config/clusters/hhmi/binder.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jupyterhub:
templateVars:
enabled: false
singleuser:
nodeSelector:
# Schedule users on the smallest instance
# https://github.com/2i2c-org/infrastructure/issues/4241
node.kubernetes.io/instance-type: n2-highmem-4
cloudMetadata:
blockWithIptables: false
cpu:
Expand Down
4 changes: 4 additions & 0 deletions config/clusters/opensci/big-binder.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ jupyterhub:
singleuserAdmin:
extraVolumeMounts: []
singleuser:
nodeSelector:
# Schedule users on the smallest instance
# https://github.com/2i2c-org/infrastructure/issues/4241
node.kubernetes.io/instance-type: r5.xlarge
cloudMetadata:
blockWithIptables: false
cpu:
Expand Down
4 changes: 4 additions & 0 deletions config/clusters/opensci/small-binder.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jupyterhub:
templateVars:
enabled: false
singleuser:
nodeSelector:
# Schedule users on the smallest instance
# https://github.com/2i2c-org/infrastructure/issues/4241
node.kubernetes.io/instance-type: r5.xlarge
cpu:
limit: 2
memory:
Expand Down
4 changes: 4 additions & 0 deletions config/clusters/projectpythia/pythia-binder.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jupyterhub:
singleuserAdmin:
extraVolumeMounts: []
singleuser:
nodeSelector:
# Schedule users on the smallest instance
# https://github.com/2i2c-org/infrastructure/issues/4241
node.kubernetes.io/instance-type: r5.xlarge
storage:
type: none
extraVolumeMounts: []
Expand Down

0 comments on commit f3d9877

Please sign in to comment.