ahmetb/kubectx
Some data may be outdated — see provenance labels.
Faster way to switch between clusters and namespaces in kubectl observed · 2026-10-06
Health v2 · maintenance only
88/100
- Activity 98
- Release rhythm 69
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 3.0
- age_days: 3491
- days_rel: 208
- days_push: 17
- n_releases_24m: 3
Adoption not part of the score
20030 stars · 1385 forks observed · 2026-10-06
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.99
kubectx and kubens are small command‑line utilities written in Go that simplify switching Kubernetes contexts and namespaces. They provide fast, interactive and scriptable ways to change the active cluster or namespace for kubectl commands.
Use cases
- quickly switch the current Kubernetes context for kubectl
- toggle between namespaces without editing kubeconfig manually
- launch a read‑only shell bound to a specific cluster
- rename a Kubernetes context with a single command
- use fuzzy search (fzf) to pick a context or namespace
- integrate context switching into shell scripts or CI pipelines
When to choose
- you need a lightweight, zero‑dependency tool to change contexts or namespaces on the fly
- you work frequently with multiple clusters and want tab‑completion or interactive selection
- you prefer a native binary that works on Linux, macOS and Windows
- you want to script context changes in CI/CD pipelines
When to avoid
- you require a full‑featured Kubernetes UI or dashboard
- you need advanced RBAC or policy enforcement beyond simple context switching
- you prefer a GUI application rather than a terminal tool
Facets
cli-tool · maturity active
cli cloud-computing windows cli kubernetes context-switching namespace-switching fzf-integration tab-completion shell kubectl-plugins devops linux macos
2 sources
- readme: https://github.com/ahmetb/kubectx · fetched 2026-10-06 · 4e9f27ec1f09
- homepage: https://kubectx.dev · fetched 2026-10-05 · 906f3e55589f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ahmetb/kubectx | main | 88 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem