Difference between revisions of "Kubectl config set-context"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  [[kubectl config]] set-context
+
  [[kubectl config]] set-[[context]] your-context
 +
Context "your-context" modified.
  
 +
kubectl config set-context --current [[--namespace]]=yournamespace
  
 
== Related ==
 
== Related ==
 
* <code>[[kubectl config get-clusters]]</code>
 
* <code>[[kubectl config get-clusters]]</code>
 
* <code>[[kubectl config get-contexts]]</code>
 
* <code>[[kubectl config get-contexts]]</code>
 +
* <code>[[kubectl config current-context]]</code>
 
* <code>[[kubectl config view]]</code>
 
* <code>[[kubectl config view]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{kubectl config context}}
 
* {{kubectl config}}
 
* {{kubectl config}}
 
* {{kubectl}}
 
* {{kubectl}}
  
 
[[Category:Kubectl]]
 
[[Category:Kubectl]]

Latest revision as of 12:20, 19 September 2022

Advertising: