A context in Kubernetes is basically a combination of an information about clusters and users, stored in a kubeconfig file.
Every time you execute the kubectl command, you reference a context inside kubeconfig.
The kubectl config command is used to manage Kubernetes configurations, primarily by editing the kubeconfig file.
In this short note I will show how to delete a Kubernetes context, cluster or user from kubeconfig using the kubectl config command. (more…)