How to switch kubectl clusters between gcloud and minikube

后端 未结 14 1130
再見小時候
再見小時候 2021-01-29 19:01

I have Kubernetes working well in two different environments, namely in my local environment (MacBook running minikube) and as well as on Google\'s Container Engine (GCE, Kubern

14条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-29 19:49

    I got bored of typing this over and over so I wrote a simple bash utility to switch contexts

    You can find it here https://github.com/josefkorbel/kube-switch

提交回复
热议问题