Difference between revisions of "Kubectl config view --flatten"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
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) | ||
[[kubectl config view]] --flatten > all-in-one-kubeconfig.yaml | [[kubectl config view]] --flatten > all-in-one-kubeconfig.yaml | ||
− | [[konfig]] | + | [[kubectl konfig merge]] |
== See also == | == See also == |
Latest revision as of 12:02, 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
kubectl konfig merge
See also[edit]
Advertising: