Skip to content

Commit

Permalink
Remove max limits on dask worker RAM / CPU
Browse files Browse the repository at this point in the history
Currently, users have to set these manually, so limiting it
to 32 prevents provisioning instances larger than that.

Ref 2i2c-org#291 (comment)
  • Loading branch information
yuvipanda committed Jun 14, 2021
1 parent dbb6de7 commit d1bc4f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hub-templates/daskhub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ dask-gateway:
"environment": options.environment,
}
return Options(
Integer("worker_cores", 2, min=1, max=16, label="Worker Cores"),
Float("worker_memory", 4, min=1, max=32, label="Worker Memory (GiB)"),
Integer("worker_cores", 2, min=1, label="Worker Cores"),
Float("worker_memory", 4, min=1, label="Worker Memory (GiB)"),
# The default image is set via DASK_GATEWAY__CLUSTER__OPTIONS__IMAGE env variable
String("image", label="Image"),
Mapping("environment", {}, label="Environment Variables"),
Expand Down

0 comments on commit d1bc4f8

Please sign in to comment.