guettli
guettli

Reputation: 27806

minikube --kubernetes-version --> Which version are supported?

I know that you can start minikube with a different K8s version with --kubernetes-version.

But how can I let minikube list all versions which it supports?

I had a look at the command reference of start, but could not find a way up to now.

In my case I would like to know which one is the latest v1.17.X version which is supported.

On the github release page I found that v1.17.12 is today the latest version in the 17.x series. But it would be nice, if I minikube or kubectl could tell me this.

Upvotes: 5

Views: 4599

Answers (2)

flyer
flyer

Reputation: 9806

The following command may be helpful:

minikube config defaults kubernetes-version

Upvotes: 3

Wytrzymały Wiktor
Wytrzymały Wiktor

Reputation: 13858

@Esteban Garcia is right but I would like to expand on this topic a bit more with the help of the official documentation:

By default, minikube installs the latest stable version of Kubernetes that was available at the time of the minikube release. You may select a different Kubernetes release by using the --kubernetes-version flag, for example:

minikube start --kubernetes-version=v1.11.10

minikube follows the Kubernetes Version and Version Skew Support Policy, so we guarantee support for the latest build for the last 3 minor Kubernetes releases. When practical, minikube aims to support older releases as well so that users can emulate legacy environments.

For up to date information on supported versions, see OldestKubernetesVersion and NewestKubernetesVersion in constants.go.

Upvotes: 5

Related Questions