awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
ahmetb avatar

ahmetb/kubectx

0
View on GitHub↗
19,829 stars·1,379 forks·Go·Apache-2.0·15 viewskubectx.dev↗

Kubectx

kubectx is a set of command-line productivity tools designed to simplify the switching of cluster contexts and active namespaces for Kubernetes CLI users. It serves as a context manager that allows users to quickly change the current cluster environment and default namespace within the configuration.

The tool provides capabilities for renaming cluster contexts to improve identification and the ability to toggle rapidly between two clusters by preserving the previous active state. It also supports launching isolated shell sessions constrained to a specific cluster or configured as read-only to prevent accidental changes.

The utility includes interactive context filtering and searching through integration with external fuzzy-search tools. It also provides mechanisms for updating the active namespace for a cluster, reducing the requirement to use explicit namespace flags in every command.

Features

  • Context Management - Provides a command-line tool to rapidly switch between active Kubernetes cluster contexts and namespaces.
  • Client Context Switching - Provides a utility to quickly change the active cluster context and toggle back to the previously used environment.
  • Configuration File Manipulation - Programmatically parses and modifies the YAML kubeconfig file to update current context and namespace settings.
  • Kubectl Context Switchers - Quickly changes the current cluster environment and default namespace for Kubernetes CLI operations.
  • Kubectl Workflow Optimizations - Speeds up daily Kubernetes operations using shortcuts and interactive menus to navigate environments.
  • Kubernetes CLI Productivity Tools - Provides a set of shell scripts for renaming contexts and launching isolated shells restricted to specific clusters.
  • Active Namespace Selection - Updates the active namespace for the current context to reduce the need for explicit namespace flags.
  • Active Namespace Switching - Provides functionality to update the current namespace for the active cluster, including non-existent namespaces.
  • Kubernetes Cluster Management - Enables quick switching between different Kubernetes clusters to avoid typing long context names.
  • Namespace Switching - Implements a utility to update the active namespace for the current cluster to reduce the need for explicit flags.
  • Context Toggling - Stores the previous active context in a temporary variable to allow rapid switching between two clusters.
  • Interactive Context Menus - Provides a fuzzy-searchable menu to select clusters or namespaces when compatible search tools are installed.
  • Subshell Environment Isolation - Spawns a new shell process with a modified environment to restrict operations to a specific cluster context.
  • Client Cluster Contexts - Allows modifying the name of cluster contexts within the client configuration to improve identification.
  • Kubernetes Context Isolation - Starts new shell sessions constrained to a specific cluster context or configured as read-only.
  • Command Line Tools - Utility for switching between clusters and namespaces.

Star history

Star history chart for ahmetb/kubectxStar history chart for ahmetb/kubectx

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Kubectx

Similar open-source projects, ranked by how many features they share with Kubectx.
  • harisekhon/devops-bash-toolsHariSekhon avatar

    HariSekhon/DevOps-Bash-tools

    8,062View on GitHub↗

    DevOps-Bash-tools is a collection of shell scripts and aliases designed to automate cloud infrastructure, container orchestration, and CI/CD pipelines. It provides a comprehensive toolset for managing operational workflows through the command line. The project specializes in automating tasks across multiple platforms, including managing namespaces and secrets in Kubernetes, auditing resources in AWS and GCP, and triggering builds or managing environment variables in GitHub Actions, GitLab CI, and CircleCI. It also includes a toolkit for interacting with container registries to query manifests

    Shellapiawsbash
    View on GitHub↗8,062
  • podman-desktop/podman-desktoppodman-desktop avatar

    podman-desktop/podman-desktop

    7,722View on GitHub↗

    Podman Desktop is a graphical user interface for building, managing, and deploying containers and Kubernetes clusters from a local workstation. It serves as a container engine manager and a Kubernetes cluster dashboard, providing a visual environment for tasks typically handled via the command line. The project includes a container extension framework that allows users to integrate additional tools and capabilities into the management environment through a plugin system and extension catalog. The software covers the full container lifecycle, including image building and pushing to registries

    TypeScriptcontainercontainersdesktop
    View on GitHub↗7,722
  • vmware-archive/octantvmware-archive avatar

    vmware-archive/octant

    6,244View on GitHub↗

    Highly extensible platform for developers to better understand the complexity of Kubernetes clusters.

    Gogogolangkubernetes
    View on GitHub↗6,244
  • ahmetb/kubectl-aliasesahmetb avatar

    ahmetb/kubectl-aliases

    3,695View on GitHub↗

    kubectl-aliases is a Kubernetes CLI alias generator that programmatically creates shorthand shell commands for common cluster operations and resource management. It functions as a workflow optimizer designed to reduce typing and increase the speed of interactions with the Kubernetes API. The tool operates as a shell command permutator, combining verbs, resources, and flags to automate the creation of a comprehensive library of CLI shortcuts. It utilizes combinatorial mapping and template-driven scripting to generate these shorthand definitions. The project covers several operational areas, i

    Nukubectlkubernetes
    View on GitHub↗3,695
See all 30 alternatives to Kubectx→

Frequently asked questions

What does ahmetb/kubectx do?

kubectx is a set of command-line productivity tools designed to simplify the switching of cluster contexts and active namespaces for Kubernetes CLI users. It serves as a context manager that allows users to quickly change the current cluster environment and default namespace within the configuration.

What are the main features of ahmetb/kubectx?

The main features of ahmetb/kubectx are: Context Management, Client Context Switching, Configuration File Manipulation, Kubectl Context Switchers, Kubectl Workflow Optimizations, Kubernetes CLI Productivity Tools, Active Namespace Selection, Active Namespace Switching.

What are some open-source alternatives to ahmetb/kubectx?

Open-source alternatives to ahmetb/kubectx include: harisekhon/devops-bash-tools — DevOps-Bash-tools is a collection of shell scripts and aliases designed to automate cloud infrastructure, container… podman-desktop/podman-desktop — Podman Desktop is a graphical user interface for building, managing, and deploying containers and Kubernetes clusters… vmware-archive/octant — Highly extensible platform for developers to better understand the complexity of Kubernetes clusters. ahmetb/kubectl-aliases — kubectl-aliases is a Kubernetes CLI alias generator that programmatically creates shorthand shell commands for common… jonmosco/kube-ps1 — kube-ps1 is a cross-shell prompt utility and infrastructure context monitor that integrates Kubernetes cluster and… siderolabs/talos — Talos is a minimal, immutable Linux distribution designed specifically for deploying and managing Kubernetes clusters.…