KUBECTX(1)
β¨ NAME β¨
hiii bestie, meet kubectx β the tool that switches between contexts (aka clusters) on kubectl, but faster. like, actually faster. π¨
π DESCRIPTION π
Manage and switch between kubectl contexts. that's it, that's the whole vibe β you've got contexts, and this lil icon moves you between them before you can even finish typing the long version. obsessed. π«Ά
π USAGE π
kubectxβ list the contexts. no args, no stress, just a cute lil list. πkubectx <NAME>β switch to context<NAME>. β¨kubectx -β switch to the previous context. the uno reverse, the "wait go back", the main character move. πkubectx -s, --shell <NAME>β start a shell scoped to context<NAME>.kubectx -s, --shellβ no name given? then it lets you interactively select a context to start a shell. you pick, bestie. π§kubectx -r, --readonly <NAME>β start a read-only shell for context<NAME>. look, don't touch. very demure, very mindful. πkubectx -r, --readonlyβ interactively select a context for a read-only shell. same energy, you choose.kubectx -c, --currentβ show the current context name. who am i rn πͺkubectx -u, --unsetβ unset the current context. okay bye!!! πkubectx <NEW_NAME>=<NAME>β rename context<NAME>to<NEW_NAME>.kubectx <NEW_NAME>=.β rename current-context to<NEW_NAME>.kubectx -d <NAME> [<NAME...>]β delete context<NAME>(.for current-context).
heads up bestie, this command won't delete the user/cluster entry referenced by the context entry. so it deletes the context and leaves the user and cluster entries behind, untouched. it's giving "i said what i said". π
kubectx -h, --helpβ show this message.kubectx -V, --versionβ show version. π·οΈ
and that's the whole page, slay π
this was the kubectx 0.11.0-1 manual page, dated April 2026, filed under User Commands, page KUBECTX(1). go switch some contexts, you got this. π
πΈ
π¦ where this page comes from
- ubuntu stonking: kubectx 0.11.0-1 Β· Apache-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms