Difference between revisions of "Kubectl config view --flatten"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} kubectl config view --flatten {{kubectl config}}")
 
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
  [[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}}
+
[[kubectl config view]] --flatten > all-in-one-kubeconfig.yaml
 +
 
 +
[[kubectl konfig merge]]
 +
 
 +
== See also ==
 +
* {{kubectl config}}
 +
 
 +
[[Category:kubectl]]

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: