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

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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