kubens

Fast switching between Kubernetes namespaces.

Installs kubens, for switching the active namespace of the current Kubernetes context.

devtools:
  - name: kubens

Version behavior

versionResult
omittedthe distribution’s kubectx package, which provides kubens
v0.9.5 or 0.9.5the official upstream release tarball for the workstation’s architecture

kubectx and kubens are released together, so a pinned version selects the same upstream release for both.

Example

devtools:
  - name: kubectl
  - name: kubectx
    version: v0.9.5
  - name: kubens
    version: v0.9.5
  - name: fzf

Notes

  • Because the versionless install comes from the shared kubectx package, declaring only kubens still lands kubectx on the workstation. The recipe checks for the kubens binary specifically, so declaring both installs once.
  • With fzf present, running kubens with no argument opens an interactive picker.
  • Works on Debian, Ubuntu, and Alpine.