Skip to content

Instantly share code, notes, and snippets.

@cbcunc
Created July 14, 2018 21:29
Show Gist options
  • Save cbcunc/80580ba36609955436136ab2826425ba to your computer and use it in GitHub Desktop.
Save cbcunc/80580ba36609955436136ab2826425ba to your computer and use it in GitHub Desktop.
metadata:
spec:
restartPolicy: Never
volumes:
- flexVolume:
driver: informaticslab/pysssix-flex-volume
options:
readonly: "true"
name: s3
containers:
- args:
- dask-worker
- --nthreads
- '2'
- --no-bokeh
- --memory-limit
- 6GB
- --death-timeout
- '60'
image: esip/pangeo-notebook:2018-07-04
name: dask-worker
securityContext:
capabilities:
add: [SYS_ADMIN]
privileged: true
volumeMounts:
- mountPath: /s3
name: s3
resources:
limits:
cpu: "1.75"
memory: 6G
requests:
cpu: "1.75"
memory: 6G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment