January 2018
Beginner to intermediate
624 pages
19h 23m
English
The examples in this book can either be run in a cluster created with Minikube, or one created with Google Kubernetes Engine (GKE). If you plan on using both, you need to know how to switch between them. A detailed explanation of how to use kubectl with multiple clusters is described in the next section. Here we look at how to switch between Minikube and GKE.
Luckily, every time you start up a Minikube cluster with minikube start, it also reconfigures kubectl to use it:
$ minikube start Starting local Kubernetes cluster... ... Setting up kubeconfig... ❶ Kubectl is now configured to use the cluster. ❶