ahmetb / kubectx

Faster way to switch between clusters and namespaces in kubectl
https://kubectx.dev
Apache License 2.0
17.66k stars 1.26k forks source link

proposal: add a flag to remove `context.namespace` #372

Closed spencercjh closed 1 year ago

spencercjh commented 1 year ago

Provide a flag like kubens -r to remove current context.namespace (and backoff to default).

ahmetb commented 1 year ago

What's the difference of that vs setting it to default?

spencercjh commented 1 year ago

What's the difference of that vs setting it to default?

You are right. I can use alias to do it😅