From 12dadf46ee303e151f3b8b7dced6d21002e5a938 Mon Sep 17 00:00:00 2001 From: Daniel Helfand Date: Fri, 6 Dec 2019 10:06:50 -0500 Subject: [PATCH] confirm installation instructions for minikube (#17479) --- .../en/docs/tasks/tools/install-minikube.md | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/content/en/docs/tasks/tools/install-minikube.md b/content/en/docs/tasks/tools/install-minikube.md index f9c63f83a3..6effe11116 100644 --- a/content/en/docs/tasks/tools/install-minikube.md +++ b/content/en/docs/tasks/tools/install-minikube.md @@ -194,6 +194,41 @@ To install Minikube manually on Windows, download [`minikube-windows-amd64`](htt {{% /capture %}} +## Confirm Installation + +To confirm successful installation of both a hypervisor and Minikube, you can run the following command to start up a local Kubernetes cluster: + +{{< note >}} + +For setting the `--vm-driver` with `minikube start`, enter the name of the hypervisor you installed in lowercase letters where `` is mentioned below. A full list of `--vm-driver` values is available in [specifying the VM driver documentation](https://kubernetes.io/docs/setup/learning-environment/minikube/#specifying-the-vm-driver). + +{{< /note >}} + +```shell +minikube start --vm-driver= +``` + +Once `minikube start` finishes, run the command below to check the status of the cluster: + +```shell +minikube status +``` + +If your cluster is running, the output from `minikube status` should be similar to: + +``` +host: Running +kubelet: Running +apiserver: Running +kubeconfig: Configured +``` + +After you have confirmed whether Minikube is working with your chosen hypervisor, you can continue to use Minikube or you can stop your cluster. To stop your cluster, run: + +```shell +minikube stop +``` + ## Clean up local state {#cleanup-local-state} If you have previously installed Minikube, and run: