FahamLah

Commands

kubectl config set-context --current --namespace=<ns>

kubectl config set-context --current --namespace=<ns>

Risk: Careful

What it does

Changes the namespace your commands use by default.

When to use it

You work in one zone for a while.

Example

$ kubectl config set-context --current --namespace=food

From now on, work in the food zone.