Open lucidyan opened 4 years ago
The default namespace is taken from the current context of your environment kubeconfig file. It can be changed / set with:
$ kubectl config set-context --current --namespace=my-namespace
If you use the ns
plugin, you can call kubectl ns <namespace>
.
That being said, we plan to provide a full-fledged CLI so that it is possible to pass options and override environment context.
+1 We deploy a bunch of apps in namespaces each and it would be nice to pass the namespace as a flag (same for the kube context).
Is there any cli flag to pass to kubebox that can select the namespace that opens at startup? It’s very annoying that every time you have to open the necessary namespace manually.