Created
November 7, 2022 14:34
-
-
Save jacobtomlinson/192801a1cb1dc2051f2b791e2a7ef55c to your computer and use it in GitHub Desktop.
Example DaskCluster resource
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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