Difference between revisions of "Kubectl config view --flatten"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
[[kubectl config view]] --flatten | [[kubectl config view]] --flatten | ||
+ | |||
+ | --flatten[=false]: flatten the resulting kubeconfig file into self contained output (useful for creating portable kubeconfig files) | ||
Revision as of 12:00, 22 September 2023
kubectl config view --flatten
--flatten[=false]: flatten the resulting kubeconfig file into self contained output (useful for creating portable kubeconfig files)
kubectl config view --flatten > all-in-one-kubeconfig.yaml
konfig
See also
Advertising: