Difference between revisions of "Kubectl --kubeconfig"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
[[kubectl --help]] | [[kubectl --help]] | ||
+ | == See also == | ||
+ | * {{kubeconfig}} | ||
− | + | [[Category:Kubectl]] |
Revision as of 12:02, 4 March 2024
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 or by setting the --kubeconfig flag.
kubectl options kubectl --help
See also
Advertising: