Skip to content

Instantly share code, notes, and snippets.

@jiahao87
Created August 12, 2020 09:45
Show Gist options
  • Save jiahao87/da3fee70dea5d5bc1a8468c35500ef11 to your computer and use it in GitHub Desktop.
Save jiahao87/da3fee70dea5d5bc1a8468c35500ef11 to your computer and use it in GitHub Desktop.
Configuration file template to update Dask Helm deployment
# values.yaml to overwrite default values
scheduler:
image:
tag: 2.21.0 # Container image tag
serviceType: "LoadBalancer"
resources:
limits:
cpu: 1
memory: 6G
requests:
cpu: 1
memory: 6G
worker:
image:
tag: 2.21.0 # Container image tag
replicas: 4 # Number of workers.
env: # Environment variables.
- name: EXTRA_CONDA_PACKAGES
value: dask-ml shap -c conda-forge
- name: EXTRA_PIP_PACKAGES
value: dask-lightgbm --upgrade
resources:
limits:
cpu: 1
memory: 4G
requests:
cpu: 1
memory: 4G
jupyter:
image:
tag: 2.21.0 # Container image tag
serviceType: "LoadBalancer"
password: 'sha1:aae8550c0a44:9507d45e087d5ee481a5ce9f4f16f37a0867318c' # Password hash. Default hash corresponds to the password `dask`.
# We want to keep the same packages on the worker and jupyter environments
env: # Environment variables.
- name: EXTRA_CONDA_PACKAGES
value: dask-ml shap -c conda-forge
- name: EXTRA_PIP_PACKAGES
value: dask-lightgbm --upgrade
resources:
limits:
cpu: 1
memory: 6G
requests:
cpu: 1
memory: 6G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment