tldr/pages/common/kubectx.md

20 lines
251 B
Markdown
Raw Normal View History

2018-12-13 05:23:33 +00:00
# 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}}`