HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

kubens — Utility to switch between Kubernetes namespaces. More information: <https://manned.org/kubens>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
namespacescommandkubensbetweenclikubernetesswitchutility

Problem

How to use the kubens command: Utility to switch between Kubernetes namespaces. More information: <https://manned.org/kubens>.

Solution

kubens — Utility to switch between Kubernetes namespaces. More information: <https://manned.org/kubens>.

List the namespaces:
kubens


Change the active namespace:
kubens {{name}}


Switch to the previous namespace:
kubens -

Code Snippets

List the namespaces

kubens

Change the active namespace

kubens {{name}}

Switch to the previous namespace

kubens -

Context

tldr-pages: common/kubens

Revisions (0)

No revisions yet.