GoogleCloudPlatform / k8s-multicluster-ingress

kubemci: Command line tool to configure L7 load balancers using multiple kubernetes clusters
Apache License 2.0
376 stars 68 forks source link

error when running kubemci create ~~ #198

Closed iamnogada closed 6 years ago

iamnogada commented 6 years ago

In GKE, k8s is 1.9.7-gke.3

running this command to create lb kubemci create global-lb \ --ingress=./yaml/ing.yaml \ --gcp-project=autocomplete-210003 \ --kubeconfig=~/.kubemci

Error is "Error: Error in creating load balancer: error in creating cloud interface: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information."

I loggin as owner

Is this bug or I missed something to permission?

iamnogada commented 6 years ago

It is the name of config file " .kubemci"

I changed the name of this, then works fine.

G-Harmon commented 6 years ago

Glad you got this to work. I'm guessing the problem is that "~" expansion doesn't work when being passed to a lot of commands?