concept multiple cluster in category kubernetes

appears as: multiple clusters
Kubernetes in Action

This is an excerpt from Manning's book Kubernetes in Action.

But how do you authenticate as Alice or Bob instead of whatever you’re authenticated as currently? The book’s appendix A explains how kubectl can be used with multiple clusters, but also with multiple contexts. A context includes the user credentials used for talking to a cluster. Turn to appendix A to find out more. Here we’ll show the bare commands enabling you to use kubectl as Alice or Bob.

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.