Change kubeconfig priority
The priority of kubeconfig would be: 1. Command args. We could specify the --kubeconfig. 2. ENV. We read from RecommendedConfigPathEnvVar. 3. In-cluster. 4. Recommended. We got by RecommendedHomeDir and RecommendedFileName, which would be ~/.kube/config.
Loading
Please register or sign in to comment