kind: improve error messaging for create cluster"
Hi there
I have set up a new Ubuntu server 16.04, installed Go, Golang and Docker however everytime I run
go get sigs.k8s.io/kind && kind create cluster
I get Error: could not list clusters: failed to list nodes: exit status 1
What am I missing as I am new to Kubernetes
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 4
- Comments: 23 (16 by maintainers)
Commits related to this issue
- Add warning for keep-mgmt (#282) — committed to stg-0/kind by stg-0 10 months ago
if you do:
go install sigs.k8s.io/kind
it will probably install in~/go/bin
but then if you don’t have this folder in PATH you can either:
~/go/bin/kind
binary to somewhere like/usr/local/bin
Another fix for this is to add your own user to the
docker
group.That was my issue, thank you I followed https://docs.docker.com/install/linux/linux-postinstall/ and removed the need for Sudo
This error message also displays when the Docker daemon is not running. Any way to detect this and have the error message state to start the dameon?
a CLI message can potentially link to the user docs / known issues too.