kubectx

kubectx

TLDR

List the contexts

$ kubectx
copy


Switch to a named context
$ kubectx [name]
copy


Switch to the previous context
$ kubectx -
copy


Delete a named context
$ kubectx -d [name]
copy

Copied to clipboard