Skip to content

Instantly share code, notes, and snippets.

@jacobtomlinson
Created November 7, 2022 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacobtomlinson/192801a1cb1dc2051f2b791e2a7ef55c to your computer and use it in GitHub Desktop.
Save jacobtomlinson/192801a1cb1dc2051f2b791e2a7ef55c to your computer and use it in GitHub Desktop.
Example DaskCluster resource
apiVersion: kubernetes.dask.org/v1
kind: DaskCluster
metadata:
name: demo
spec:
worker:
replicas: 2
spec:
containers:
- name: worker
image: "ghcr.io/dask/dask:latest"
imagePullPolicy: "IfNotPresent"
args:
- dask-worker
- --name
- $(DASK_WORKER_NAME)
env:
- name: EXTRA_PIP_PACKAGES
value: git+https://github.com/dask/distributed
resources:
limits:
cpu: "2"
memory: 6G
requests:
cpu: "2"
memory: 6G
scheduler:
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment