Created
July 14, 2018 21:29
-
-
Save cbcunc/80580ba36609955436136ab2826425ba to your computer and use it in GitHub Desktop.
Custom worker template for https://gist.github.com/rsignell-usgs/44fe5fbd70375a767bf5ec56631eccac
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
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