Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. begin by installing minikube - download the windows installer, tried using choco but didn't work (mmmmm)
  2. run the command - minikube start - this will configure docker to work with minikube, caveat: wanted VBox and wouldn't work with HyperV
    1. read the messages carefully, on Windows you must still install kubectl manually even though the minikube start command says it downloaded and configure kubectl to work with Docker
  3. run the command choco install kubernetes-cli
  4. run the command refreshenv to enable kubectl without having to shutdown and reopen the shell

Once minikube is running, it has a really cool dashboard that can be used to administer it.  The dashboard can be triggered by using the following command minikube dashboard, this will lock the terminal.  When it runs, it will automatically open the dashboard using your default browser.

Running an application

  1. kubectl version
  2. kubectl get version
  3. kubectl run kubernetes-bootcamp --image=gcr.io/google-samples/kubernetes-bootcamp:v1 --port=8080
  4. kubectl get deployments

...