kubectx1
Tool to switch between contexts (clusters) on kubectl faster
Overview
Usage:
kubectx
|
: list the contexts |
|---|---|
kubectx <NAME>
|
: switch to context <NAME> |
kubectx -
|
: switch to the previous context |
kubectx
|
: show the current context name |
kubectx <NEW_NAME>=<NAME>
|
: rename context <NAME> to <NEW_NAME> |
kubectx <NEW_NAME>=.
|
: rename current-context to <NEW_NAME> |
kubectx
|
: unset the current context |
kubectx
|
(this command won't delete the user/cluster entry |
|
referenced by the context entry) |
|
kubectx
|
: show this message |
kubectx
|
: show version |