1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/kubens.md

17 lines
252 B
Markdown
Raw Normal View History

2018-12-01 18:56:40 +01:00
# kubens
> Utility to switch between Kubernetes namespaces.
2019-06-05 08:55:50 +01:00
> More information: <https://github.com/ahmetb/kubectx>.
2018-12-01 18:56:40 +01:00
- List the namespaces:
`kubens`
- Change the active namespace:
`kubens {{name}}`
- Switch to the previous namespace:
`kubens -`