arena icon indicating copy to clipboard operation
arena copied to clipboard

Arena doesn't support multi kubeconfig file

Open asdfsx opened this issue 6 years ago • 5 comments

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

asdfsx avatar Sep 06 '18 09:09 asdfsx

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

export KUBECONFIG=~/.kube/hongkongconfig
arena list

cheyang avatar Sep 06 '18 15:09 cheyang

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

asdfsx avatar Oct 24 '18 11:10 asdfsx

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

wsxiaozhang avatar Nov 07 '18 12:11 wsxiaozhang

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 avatar Feb 26 '24 11:02 chacha923

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

chacha923 avatar Feb 26 '24 11:02 chacha923