Skip to content

Set default namespace kubectl

Better solution

A better solution is to use something like kubectx + kubens

Why

When you're running several commands in the same namespace (That isn't default) it gets annoying having to always specify the name space

Solution

admin config set-context --current --namespace=<insert-namespace-name-here>

Want to make this site better? Open a PR or help fund hosting costs