ahmetb

    ahmetb/kubectx

    Faster way to switch between clusters and namespaces in kubectl

    20.1K stars
    1.4K forks
    130 GitHub watchers
    Updated Nov 6, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 225 days ago, with 66 contributors on GitHub.

    Use Cases & Benefits

    • Provides command-line tools to quickly switch between Kubernetes contexts and namespaces in kubectl.
    • Speeds up Kubernetes cluster and namespace management with intuitive commands and interactive fuzzy search.
    • Use for rapidly switching Kubernetes clusters during multi-cluster development or troubleshooting.
    • Use for easily changing namespaces within a cluster to manage resources without editing kubeconfig manually.
    • Use for launching isolated or read-only shells scoped to a specific Kubernetes context for safer operations.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    This repository provides both kubectx and kubens tools. Install →

    kubectx is a tool to switch between contexts (clusters) on kubectl faster, and launch readonly shells for each context.

    kubens is a tool to switch between Kubernetes namespaces (and configure them for kubectl) easily.

    Excerpt from the ahmetb/kubectx README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    1.4K+7

    Open issues

    41+3

    Compared with peers in Kubernetes

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    ahmetb/kubectx compared with Kubernetes repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    superplanehq/superplane9.8K+1.0K7513 days ago
    kubernetes/kubernetes129.0K+344754 days ago
    etcd-io/etcd52.7K+2877519 days ago
    aquasecurity/trivy39.2K+240755 days ago
    agentgateway/agentgateway6.1K+1877514 days ago
    ahmetb/kubectx20.1K—48225 days ago
    Category median39.2K+28775—

    Discover Repositories

    Search across tracked repositories by name or description