mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 01:42:45 +00:00
22 lines
345 B
Plaintext
22 lines
345 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# kubens
|
|
|
|
> Utility to switch between Kubernetes namespaces.
|
|
> More information: <https://github.com/ahmetb/kubectx>.
|
|
|
|
- List the namespaces:
|
|
|
|
`kubens`
|
|
|
|
- Change the active namespace:
|
|
|
|
`kubens {{name}}`
|
|
|
|
- Switch to the previous namespace:
|
|
|
|
`kubens -`
|