kubeflow / arena

A CLI for Kubeflow.
Apache License 2.0
735 stars 178 forks source link

Arena doesn't support multi kubeconfig file #51

Open asdfsx opened 6 years ago

asdfsx commented 6 years ago

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 commented 6 years ago

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

export KUBECONFIG=~/.kube/hongkongconfig
arena list
asdfsx commented 6 years ago

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

wsxiaozhang commented 5 years ago

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

chacha923 commented 8 months ago

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 commented 8 months ago

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