cliff-docker | A Docker image for the CLIFF geolocation software | Continuous Deployment library
kandi X-RAY | cliff-docker Summary
kandi X-RAY | cliff-docker Summary
A Docker image for the CLIFF geolocation software.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cliff-docker
cliff-docker Key Features
cliff-docker Examples and Code Snippets
Community Discussions
Trending Discussions on cliff-docker
QUESTION
I'm trying to get up and running with dask on kubernetes. Below is effectively a hello world for dask-kubernetes, but I'm stuck on the error below.
main.py:
...ANSWER
Answered 2021-Aug-24 at 20:41In the pod template (pod-spec.yaml), the field metadata.name
is set. Removing this allowed the code to run. It appears that dask-kubernetes creates a scheduler pod named "dask--" and follows the same naming approach for workers. By fixing the name in the pod template, dask-kubernetes was attempting to create worker pods with the same name as the scheduler pod (and each other) which is illegal.
If you want to name the pods differently, you can use the keyword argument name
when constructing KubeCluster
to name the pods (dask will automatically append a random string to this name for each pod).
For example, the sample below will result in each pod (scheduler and workers) being named "my-dask-pods-"
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cliff-docker
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page