tldr/pages/common/kubens.md

17 lines
252 B
Markdown
Raw Normal View History

2018-12-01 17:56:40 +00: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 17:56:40 +00:00
- List the namespaces:
`kubens`
- Change the active namespace:
`kubens {{name}}`
- Switch to the previous namespace:
`kubens -`