kubectx
Faster way to switch between clusters and namespaces in kubectl
...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.