1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/kubectx.md
2018-12-13 10:53:33 +05:30

19 lines
251 B
Markdown

# 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}}`