Kubernetes version installed by minikube

NSP picture NSP · Jul 27, 2017 · Viewed 10.9k times · Source

How to know the kubernetes version that is installed by minikube? I am aware of the kubectl version and the minikube version.

Answer

Shahidh picture Shahidh · Jul 27, 2017

Once your minikube is running, you can use kubectl version command to see the version of kubernetes server.

Also, when you start minikube using minikube start, kubernetes version is shown in stdout.

$ minikube start
Starting local Kubernetes v1.6.0 cluster...

You can supply the kubernetes version you want minikube to start by mentioning the --kubernetes-version (The kubernetes version that the minikube VM will use (ex: v1.2.3)) flag.

$ minikube start --kubernetes-version v1.7.0