https://stackoverflow.com/a/43661208/2413870
You can switch from local (minikube) to gcloud and back with:
kubectl config use-context CONTEXT_NAME
to list all contexts:
kubectl config get-contexts
You can create different enviroments for local and gcloud and put it in separate yaml files.
https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/
No comments:
Post a Comment