Kubectl uses contexts to know which Kubernetes cluster to talk to.

To list all contexts:

$ kubectl config get-contexts

To select a given context:

$ kubectl config use-context CONTEXT_NAME

To specify the context on the command line every time:

$ kubectl --context CONTEXT_NAME get nodes