tldr/pages/common/kubens.md

17 lines
252 B
Markdown
Raw Normal View History

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