Kubernetes components like
kubelet use the same configuration format, referred to as
kubeconfig files. These configuration files define:
- Clusters store the location of the cluster control plane endpoint and CA data.
- Users contain credentials for accessing Clusters.
- Namespaces set the default namespace to operate in, useful for working with different applications on the same cluster.
- Contexts define names for a combination of Cluster, User and Namespace which can be switched between.