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

From wikieduonline
Jump to navigation Jump to search
 
Line 8: Line 8:
 
  [[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: