kubectx is a utility to manage and switch between kubectl contexts. kubectx supports Tab completion on bash/zsh/fish shells to help with long context names. You don't have to remember full context names anymore. kubens is a utility to switch between Kubernetes namespaces. kubens also supports Tab completion on bash/zsh/fish shells. There are several installation options. As kubectl plugins (macOS/Linux), macOS, Homebrew (recommended), MacPorts, Linux, Debian, Arch Linux, Homebrew, Manual installation. You can install and use Krew kubectl plugin manager to get kubectx and kubens. After installing, the tools will be available as kubectl ctx and kubectl ns. Since kubectx/kubens are written in Bash, you should be able to install them to any POSIX environment that has Bash installed. If you want kubectx and kubens commands to present you an interactive menu with fuzzy searching, you just need to install fzf in your PATH.

Features

  • You can customize the colors indicating the current namespace or context
  • Colors in the output can be disabled by setting the NO_COLOR environment variable
  • kubectx is a utility to manage and switch between kubectl(1) contexts
  • kubens is a utility to switch between Kubernetes namespaces
  • kubens also supports Tab completion on bash/zsh/fish shells
  • You can install and use Krew kubectl plugin manager to get kubectx and kubens

Project Samples

Project Activity

See All Activity >

Categories

Clustering

License

Apache License V2.0

Follow kubectx

kubectx Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of kubectx!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

Go

Related Categories

Go Clustering Software

Registered

2021-06-10