By default, kubectl uses the kubeconfig file located in ~\.kube\config (note that we call it kubeconfig, but the filename is config), which on Windows machines expands to C:\Users\<currentUser>\.kube\config. This YAML configuration file contains all the parameters required for kubectl to connect to the Kubernetes API for your cluster. This configuration file may be also used by different tools than kubectl—for example, Helm.
You can use the KUBECONFIG environment variable or the --kubeconfig flag for individual commands to force kubectl to use a different kubeconfig. For the KUBECONFIG environment variable, it is possible to specify multiple kubeconfig and merge them in runtime. You can read more about this feature in the official documentation: https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#merging...