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

From wikieduonline
Jump to navigation Jump to search
 
(3 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 ==
 +
* {{kubectl config}}
  
{{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: