Difference between revisions of "Kubectl --kubeconfig"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
− | 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. | + | By default, kubectl looks for a file named config in the <code>[[$HOME/.kube]]</code> directory. You can specify other kubeconfig files by setting the <code>[[KUBECONFIG]]</code> environment variable or by setting the --kubeconfig flag. |
Revision as of 12:05, 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 .bash_aliases
See also
Advertising: