KUBENS(1)

πŸ’– NAME πŸ’–

okay so bestie, meet kubens β€” Tool to switch between Kubernetes namespaces, and configure them for kubectl. This page is kubens(1), and yes it's serving User Commands section energy. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Switch between Kubernetes namespaces. That's literally the whole plot, and it's iconic. ✨

πŸŽ€ USAGE: πŸŽ€

  • kubens β€” list the namespaces in the current context
  • kubens <NAME> β€” change the active namespace of current context
  • kubens <NAME> --force/-f β€” force change the active namespace of current context (even if it doesn't exist)
  • kubens - β€” switch to the previous namespace in this context
  • kubens -c, --current β€” show the current namespace
  • kubens -h,--help β€” show this message
  • kubens -u,--unset β€” unset the namespace choice (set to 'default')
  • kubens -V,--version β€” show version
No cap: --force/-f is the bold one, and it says the namespace can be changed even if it doesn't exist. Read that part twice, bestie. πŸ’…

xoxo, your Unix bestie πŸ’œ β€” this was kubens 0.11.0-1, April 2026, KUBENS(1). slay those namespaces responsibly. πŸŽ€

πŸ“¦ where this page comes from