kubectx: add page (#2616)
This commit is contained in:

committed by
Agniva De Sarker

parent
903e198ced
commit
3448b135ec
19
pages/common/kubectx.md
Normal file
19
pages/common/kubectx.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# kubectx
|
||||||
|
|
||||||
|
> Utility to manage and switch between `kubectl` contexts.
|
||||||
|
|
||||||
|
- List the contexts:
|
||||||
|
|
||||||
|
`kubectx`
|
||||||
|
|
||||||
|
- Switch to a named context:
|
||||||
|
|
||||||
|
`kubectx {{name}}`
|
||||||
|
|
||||||
|
- Switch to the previous context:
|
||||||
|
|
||||||
|
`kubectx -`
|
||||||
|
|
||||||
|
- Delete a named context:
|
||||||
|
|
||||||
|
`kubectx -d {{name}}`
|
Reference in New Issue
Block a user