ahmetb/kubectx

Faster way to switch between clusters and namespaces in kubectl

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 4 minutes ago
Added to GitGenius on September 2nd, 2026
Created on March 30th, 2017
Open Issues & Pull Requests: 42 (+0)
GitHub issues: Enabled
Number of forks: 1,382
Total Stargazers: 19,976 (+0)
Total Subscribers: 136 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 5.1 hours
Mean response time: 130.1 days
90th percentile: 368.3 days
Tracked items: 40

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 4% of issues opened in the past year have been closed. Three people close 94% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 14
New in 7 days: 2
Closed in 7 days: 0
Avg open age: 634 days
Stale 30+ days: 9
Stale 90+ days: 8

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Bug (14)
  • 😇Feature Request (8)
  • Go implementation (4)
  • Pending repro (1)
  • enhancement (1)
  • wontfix (1)
  • ☁️Windows (1)
  • 🎁Packaging (1)

Most active issues this week

Detailed Description

kubectx is a command-line tool that speeds up switching between Kubernetes clusters and namespaces in kubectl.

The tool solves the friction of managing multiple Kubernetes contexts and namespaces by providing dedicated commands for rapid switching. kubectx lets you change between clusters defined in your kubeconfig file, while kubens handles namespace switching. Both tools support interactive selection via fzf if installed, allowing fuzzy searching through available options. They also provide tab completion for bash, zsh, and fish shells to avoid typing full context or namespace names. Additional features include launching isolated shells scoped to a single context, starting read-only shells that block write operations, and renaming contexts.

Adopt this tool if you regularly work with multiple Kubernetes clusters or frequently switch namespaces within clusters. It suits any workflow involving multi-cluster management, whether for development, testing, or operations. The tool is available across macOS, Linux, and Windows through multiple package managers including Homebrew, apt, pacman, Chocolatey, Scoop, and winget, as well as through Krew as a kubectl plugin.

The project maintains active continuous integration testing for its Go implementation. Development follows a structured release process with binaries published to a releases page. The codebase is written in Go and the project provides shell completion scripts for multiple shells to support different user environments.