Skip to content

Commit

Permalink
opensci, big-binder: enable dask-gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Jul 1, 2024
1 parent a92b7c2 commit ff12a87
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
9 changes: 9 additions & 0 deletions config/clusters/opensci/big-binder.values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
dask-gateway:
enabled: true
gateway:
backend:
imagePullSecrets: [{ name: image-pull-secret }]
jupyterhub:
ingress:
hosts: [hub.big.binder.opensci.2i2c.cloud]
Expand All @@ -7,6 +12,8 @@ jupyterhub:
custom:
binderhubUI:
enabled: true
daskhubSetup:
enabled: true
2i2c:
add_staff_user_ids_to_admin_users: true
add_staff_user_ids_of_type: github
Expand All @@ -31,6 +38,8 @@ jupyterhub:
singleuserAdmin:
extraVolumeMounts: []
singleuser:
cloudMetadata:
blockWithIptables: false
cpu:
limit: 0.25
memory:
Expand Down
14 changes: 13 additions & 1 deletion eksctl/opensci.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,19 @@ local notebookNodes = [
{ instanceType: "r5.4xlarge" },
{ instanceType: "r5.16xlarge" },
];
local daskNodes = [];
local daskNodes = [
// Node definitions for dask worker nodes. Config here is merged
// with our dask worker node definition, which uses spot instances.
// A `node.kubernetes.io/instance-type label is set to the name of the
// *first* item in instanceDistribution.instanceTypes, to match
// what we do with notebook nodes. Pods can request a particular
// kind of node with a nodeSelector
//
// A not yet fully established policy is being developed about using a single
// node pool, see https://github.com/2i2c-org/infrastructure/issues/2687.
//
{ instancesDistribution+: { instanceTypes: ["r5.4xlarge"] }},
];


{
Expand Down

0 comments on commit ff12a87

Please sign in to comment.