Introduction to kubeconfig
Kubecofig enables clients like
kubectl and many programming languages to securely access your Kubernetes Cluster. Specifically, kubeconfig is a YAML file that contains either a username and password combination or a secure token that when read programmatically removes the need for the Kubernetes client to ask for interactive authentication. kubeconfig is the secure and standard method to enable access to your Kubernetes clusters.
For more information on kubeconfig, refere to the Kubernetes kubeconfig documentation.
kubectl provides a command line tool for interacting with Kubernetes.
kubectl depends on kubeconfig for authentication with your cluster. By default
kubectl will expect kubeconfig, represented as a file named
config to be present in the
$HOME/.kube directory. Without kubeconfig you cannot use
Thank you for your feedback! What did you like about this article?
Thank you for your feedback! How could this article be improved?
Thank you for your feedback! For specific questions about PMK or PMK free tier, visit our PMK forum.