Skip to main content

Utility to manage and switch between kubectl contexts.

# To list the contexts:
kubectx

# To switch to a named context:
kubectx <name>

# To switch to the previous context:
kubectx -

# To delete a named context:
kubectx -d <name>