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

Arena doesn't support multi kubeconfig file #51

Open
asdfsx opened this issue Sep 6, 2018 · 5 comments
Open

Arena doesn't support multi kubeconfig file #51

asdfsx opened this issue Sep 6, 2018 · 5 comments

Comments

@asdfsx
Copy link

asdfsx commented Sep 6, 2018

My KUBECONFIG config as follows

minikube=~/.kube/config
kubenetes=~/.kube/localconfig
hongkong=~/.kube/hongkongconfig
export KUBECONFIG=$KUBECONFIG:$minikube:$kubenetes:$hongkong\

but when I executearena list, I got the following error

WARN[0000] Illegal kubeconfig file: :~/.kube/config:~/.kube/localconfig:~/.kube/hongkongconfig
FATA[0000] stat :~/.kube/config:~/.kube/localconfig:~/.kube/hongkongconfig: no such file or directory
@cheyang
Copy link
Collaborator

cheyang commented Sep 6, 2018

arena list only supports single cluster now. You can work as the following operations.

export KUBECONFIG=~/.kube/hongkongconfig
arena list

@asdfsx
Copy link
Author

asdfsx commented Oct 24, 2018

Is there any plan to support multi kubeconfig file or multi context?

@wsxiaozhang
Copy link
Collaborator

@asdfsx yes, we have plan to wrapper a arena context which is not only for clusters env but also security . pls stay tuned.

@chacha923
Copy link

hello,when this feature will supported?i can't also create multi arena client by Golang SDK, because arena use once.Do() method to init @wsxiaozhang

@chacha923
Copy link

and i think use environment a bad measure,because i may use lock when concurrency request

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

4 participants