Difference between revisions of "Kubectl config set-context"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
  Context "your-context" modified.
 
  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: