1. Kubernetes Documentation
"Organizing Cluster Access Using kubeconfig Files": This official documentation explicitly states
"By default
kubectl looks for a file named config in the $HOME/.kube directory." This file contains the credentials.
Source: Kubernetes Authors
"Organizing Cluster Access Using kubeconfig Files
" Kubernetes Documentation
tasks/access-application-cluster/configure-access-multiple-clusters.html.
2. Kubernetes Documentation
"kubectl Cheat Sheet": The cheat sheet reinforces this by showing commands that interact with the default configuration path. It notes that the KUBECONFIG environment variable can override this default path.
Source: Kubernetes Authors
"kubectl Cheat Sheet
" Kubernetes Documentation
reference/kubectl/cheatsheet.html
Section: "Config & Context".