Trying to learn more about Kubernetes I tried to install a standalone instance. If you try to run minikube
terminal? suggest installing it through snap.
sudo snap install minikube kubectl
snap info minikube
Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a VM on your laptop for users looking to try out Kubernetes or develop with it day-to-day.
snap info kubectl
kubectl is a command line interface for running commands against Kubernetes
But that let me with this error:
$ minikube start
There is a newer version of minikube available (v0.32.0). Download it here:
https://github.com/kubernetes/minikube/releases/tag/v0.32.0
To disable this notification, add WantUpdateNotification: False to the json config file at /home/pablo/snap/minikube/4/.minikube/config
(you may have to create the file config.json in this folder if you have no previous configuration)
Starting local Kubernetes cluster...
E0113 21:27:07.861621 12532 start.go:83] Error starting host: Error creating new host: dial tcp: missing address. Retrying.
E0113 21:27:07.876969 12532 start.go:83] Error starting host: Error creating new host: dial tcp: missing address. Retrying.
E0113 21:27:07.892771 12532 start.go:83] Error starting host: Error creating new host: dial tcp: missing address. Retrying.
E0113 21:27:07.892806 12532 start.go:89] Error starting host: Error creating new host: dial tcp: missing address
Error creating new host: dial tcp: missing address
Error creating new host: dial tcp: missing address
I tried:
- Almost all suggestions on Github issues: 278, 867, 927, 2294, 2424.
- Installing (already there)
libvirt-bin
(libvirt-clients
libvirt-daemon
) sudo virsh -c qemu:///system net-start default
Maybe not ready for prime time?
I finally found a working solution, removing the snap package (
sudo snap remove minikube
) and then following one of the official guides keepingkubectl
:Tested with
kubectl version
andTo run the dashboard just
Alternatively you could try microk8s (add-ons, ARM, multi-node), kind or k3s. You might be also interested in Nomad.