Kubectx Versions Save

Faster way to switch between clusters and namespaces in kubectl

v0.9.5

10 months ago

Changelog

  • 92e5b5f Release v0.9.5

v0.9.4

2 years ago

Changelog

979012e Release v0.9.4

v0.9.3

3 years ago

Changelog

3504e66 Provide binary release for darwin/arm64

v0.9.2

3 years ago

Changelog

55548e1 Release v0.9.2

v0.9.1

3 years ago

NOTE: The stable versions of kubectx and kubens are the Bash script implementations (i.e. the ./kubectx and ./kubens files 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

  • [Go implementation] kubectx: doesn't work with multiple kubeconfig files (#211)
  • [Go implementation] kubens: doesn't work with kubeconfig files that have relative file paths (#229)
  • [Go implementation] kubectx: 240

v0.9.0

4 years ago

🥳 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/kubens no 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/kubens on 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

4 years ago
  • FEATURE: Introduced --unset/-u option for kubectx to remove the current namespace setting.

v0.7.1

4 years ago
  • FIX: fzf is now called with --no-preview option to prevent the preview pane from showing up (#163)
  • FEATURE: zsh completion for context names while deleting (kubectx -d) (#178)
  • IMPROVED: friendly --help strings when executed as a kubectl plugin (kubectl ctx and kubectl ns)

v0.7.0

4 years ago
  • FEATURE: Introduced -c/--current flag to print current context or namespace.
  • FIX: kubectx rename functionality now checks if the context with the OLD_NAME exists before deleting the context with specified NEW_NAME for overwriting.

v0.6.3

5 years ago
  • FIX: Show current context/ns color in interactive (fzf) mode. (#109)
  • TEST: Add integration tests for kubectx (#111, #113) and kubens (#105, #117)