KubeConfig in Kubernetes

Use kubeconfig files to organize information about clusters, users, namespaces, and authentication mechanisms. The kubectl command-line tool uses kubeconfig files to find the information it needs to choose a cluster and communicate with the API server of a cluster. https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#:~:text=The%20kubectl%20command%2Dline%20tool,of%20referring%20to%20configuration%20files. By default, kubectl looks for a file named config in the $HOME/.kube directory. You can specify other kubeconfig files by setting the KUBECONFIG environment variable … Continue reading KubeConfig in Kubernetes