Releases: ahmetb/kubectx
v0.11.0
Changelog
- feature:
kubectx -rlaunches a read-only shell where only edits to the cluster via kubectl are prevented. Demo: https://x.com/ahmetb/status/2036830308587241971
v0.10.2
v0.10.0
Changelog
More features in the Go implementation of kubectx/kubens! (It's been 2.5 years since the last release.)
Features
kubectx --shell/-s <CONTEXT>spins up an isolated shell where only that context exists! (#461)kubens -f <NAMESPACE>skips checking if namespace exists and switches into it (#416) @idsulikkubens -u/--unsetunsets the current namespace (#440) @jmischler72- kubectx and kubens now respect
$XDG_CACHE_HOME(#478)
Bug Fixes
- kubectx: skip launching fzf when no contexts exist in kubeconfig (#480)
- kubens: skip launching fzf when no contexts exist in kubeconfig (#481)
Full Changelog: v0.9.5...v0.10.0
v0.9.5
v0.9.4
v0.9.3
v0.9.2
v0.9.1
NOTE: The stable versions of
kubectxandkubensare the Bash script implementations (i.e. the./kubectxand./kubensfiles below). Go-based implementations are still unstable and are work-in-progress.
Changelog
- [Go implementation] Fix typo in kubens --help
- [Go implementation] Release binaries for arm64 (armv8) and armhf (armv6), armv7
- [Go implementation] Fix colorized outputs on windows
- [Go implementation] Handle context names with
:character (e.g. AWS EKS) - [Go implementation] Switching with kubens no longer requires "List Namespace" permissions
- [Go implementation] Fix messages while interactively switching context with fzf(1).
Known Issues
v0.9.0
🥳 BIG NEWS: Go rewrite
With this release, the kubectx and kubens rewritten in Go (if you didn't know, existing implementations were just 200-line Bash scripts). Please try out the new versions written in Go and give feedback!
Why rewrite in Go?
kubectx/kubensno longer depends on kubectl- you can switch between clusters up to 8-15x faster, compared to the bash versions which called out to
kubectl. - you can now use
kubectx/kubenson Windows (please try it out!) - you should not notice any behavior differences
Miss the bash-based implementations? Don't worry! I intend to keep mini versions of kubectx and kubens available in maintenance mode for the foreseeable future! Plus, this new version is actually backwards compatible with them!
For stability reasons: Homebrew and Krew packages should not be using this new Go-based implementation, yet. I expect Alpine and Debian Linux packagers will also not update them just yet. After addressing feedback from you, we'll flip the switch, and hopefully existing users won’t notice a thing.
To get started, download one of the .tar.gz or .zip files listed below! Happy kubectxing!
v0.8.0
- FEATURE: Introduced
--unset/-uoption for kubectx to remove the current namespace setting.