GoogleContainerTools/skaffold
"invalid skaffold config" error with multi-node minikube cluster
Offen
#5.494 geöffnet am 05.03.2021
area/buildbuild/dockerhelp wantedkind/bugplatform/minikubepriority/p3
Repository-Metriken
- Stars
- (12.822 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 3T 6h) (16 gemergte PRs in 30 T)
Beschreibung
- create a multi-node minikube cluster using
minikube start --nodes 2 - run
skaffold dev
Expected behavior
It should work as expected
Actual behavior
It failed with following message:
invalid skaffold config: getting minikube env: running [/usr/local/bin/minikube docker-env --shell none -p minikube]
- stdout: "\n\n"
- stderr: "X Exiting due to ENV_MULTINODE_CONFLICT: The docker-env command is incompatible with multi-node clusters. Use the 'registry' add-on: https://minikube.sigs.k8s.io/docs/handbook/registry/\n"
- cause: exit status 81
Information
- Skaffold version: v1.20.0
- Operating system: CentOS 7
- Installed via: skaffold.dev
Steps to reproduce the behavior
- a clonable repository with the sample skaffold project
minikube start --nodes 2skaffold dev