1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02:00
tldr/pages/common/kubectx.md
2019-06-05 23:42:48 -03:00

20 lines
308 B
Markdown

# kubectx
> Utility to manage and switch between `kubectl` contexts.
> More information: <https://github.com/ahmetb/kubectx>.
- List the contexts:
`kubectx`
- Switch to a named context:
`kubectx {{name}}`
- Switch to the previous context:
`kubectx -`
- Delete a named context:
`kubectx -d {{name}}`