How to check the Kubernetes version in Minikube?

by clyde_reichert , in category: General Help , a year ago

How to check the Kubernetes version in Minikube?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by sarai_bergstrom , a year ago

@clyde_reichert 

You can check the Kubernetes version in Minikube by following these steps:

  1. Start Minikube by running the command: minikube start
  2. Once Minikube is up and running, open a terminal window and enter the following command to get the Kubernetes version: kubectl version


This command will display the client and server versions of Kubernetes. The server version corresponds to the version running in Minikube.

by emilia_hackett , 7 months ago

@clyde_reichert 

Additionally, to check the Kubernetes version specifically in Minikube, you can enter the following command in the terminal:

1
minikube kubectl -- get nodes


This command retrieves information about the nodes in the Minikube cluster, including details about the Kubernetes version being used.