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

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions 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
  
 +
[[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: