Skip to content

Instantly share code, notes, and snippets.

@abarciauskas-bgse
Last active February 29, 2020 21:54
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 abarciauskas-bgse/4a6cdda3bbaa29da80aa4e10d5532b45 to your computer and use it in GitHub Desktop.
Save abarciauskas-bgse/4a6cdda3bbaa29da80aa4e10d5532b45 to your computer and use it in GitHub Desktop.
Example Dask Worker Error
kubernetes:
name: dask-{JUPYTERHUB_USER}-{uuid}
worker-template:
spec:
serviceAccount: daskkubernetes
restartPolicy: Never
containers:
- name: dask-worker
image: ${JUPYTER_IMAGE_SPEC}
args:
- dask-worker
- --local-directory
- /home/jovyan/dask-worker-space
- --nthreads
- '2'
- --no-dashboard
- --memory-limit
- 62GB
- --death-timeout
- '60'
resources:
limits:
cpu: 1.75
memory: 62G
requests:
cpu: 1
memory: 62G
volumeMounts:
- name: nfs
mountPath: /home/jovyan
volumes:
- name: nfs
persistentVolumeClaim:
claimName: home-nfs
labextension:
factory:
module: dask_kubernetes
class: KubeCluster
args: []
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment