What is a kubeconfig file?
A kubeconfig file is used by kubectl
and other Kubernetes tools to store cluster connection info, credentials, and contexts. It lets you
switch between clusters and users easily.
- Supports multiple clusters, users, and contexts
- YAML format, usually found at
~/.kube/config
- Can be edited or generated manually or with tools