kubectx

Two command-line tools, kubectx and kubens, for switching Kubernetes contexts and namespaces quickly.

These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.

1 more ways to get kubectx

Package managers

About kubectx

The kubectx repository provides two small tools for kubectl users. kubectx switches between contexts, which usually means between clusters, and can launch read-only shells for a given context. kubens switches the active namespace and configures kubectl to use it.

Both save typing long kubectl config commands when you move between several clusters or namespaces during the day. Shell completion scripts are included in the repository.

Strengths

  • Fast switching between clusters and namespaces
  • Read-only shells for a context
  • Shell completion included

Limitations

  • Only useful alongside kubectl and Kubernetes
  • Small scope by design

Details

Pricing
FreeFree and open source.
License
Apache-2.0
Developer
Ahmet Alp Balkan
Platforms
macOS, Linux, Command line
How it runs
Downloadable app
Account
Not required
Works offline
Yes
Best suited for
Kubernetes users who move between several clusters and namespaces
Last verified
Added
Provenance
Facts checked against the developer's own pages and store listings, 1 sources on file.

Alternatives to kubectx

Compare all

Software that can replace kubectx for an important use case, and what changes if you switch.

  • kubie

    A command-line tool for switching Kubernetes contexts and namespaces in independent, isolated shells.

    kubie gives each shell its own independent Kubernetes context and namespace and loads split config files, replacing kubectx and kubens, though its future development is under discussion.

Similar software

Related functionality, not necessarily a direct replacement.

Report a wrong fact or a dead link on this listing