3 homepage: https://github.com/ahmetb/kubectx
5 kubectx: kubectx is a utility to manage and switch between kubectl contexts.
12 Use the `@beta` tag for pre-releases.
16 > `kubectx` kubectx helps you switch between Kubernetes clusters back and forth
24 ### Command line arguments
28 kubectx : list the contexts
29 kubectx <NAME> : switch to context <NAME>
30 kubectx - : switch to the previous context
31 kubectx -c, --current : show the current context name
32 kubectx <NEW_NAME>=<NAME> : rename context <NAME> to <NEW_NAME>
33 kubectx <NEW_NAME>=. : rename current-context to <NEW_NAME>
34 kubectx -d <NAME> : delete context <NAME> ('.' for current-context)
35 (this command won't delete the user/cluster entry
36 that is used by the context)
37 kubectx -u, --unset : unset the current context