Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup namespace #77

Open
lucidyan opened this issue Jan 28, 2020 · 2 comments
Open

Startup namespace #77

lucidyan opened this issue Jan 28, 2020 · 2 comments

Comments

@lucidyan
Copy link

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.

@astefanutti
Copy link
Owner

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.

@ensonic
Copy link
Contributor

ensonic commented Feb 13, 2020

+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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants