KUBECONFIG - pracip96/K8s-Learning GitHub Wiki
KUBECONFIG consists of the below:
- server
- client-key
- client-certificate
- certificate-authority
BYDEFAULT, kubectl looks for kubeconfig file under.kube directory
KUBECONFIG file consists of three sections
- CLUSTERS (LIST OF CLUSTERS) Server specs goes here.
- USERS (LIST OF USERS) Admin users keys and cert goes here
- CONTEXTS (CONTEXT DEFINITION) We create a context saying the user to access the cluster