A kubernetes context is just a set of access parameters that contains a Kubernetes cluster, a user, and a namespace.
From Stack overflow: "A context is the connection to a specific cluster (username/apiserver host) used by kubectl. You can manage multiple clusters that way. Namespace is a logical partition inside a specific cluster to manage resources and constraints."
We can get the context by running:
kubectl config current-context
First let's create multiple clusters:
kind create cluster --name cluster-one
kind create cluster --name cluster-two
Next we can list all of the contexts:
kubectl config get-contexts
Now switch context by picking the name you want and using:
kubectl config use-context