estafette / estafette-gke-node-pool-shifter

Kubernetes controller that can shift nodes from one node pool to another, to favour for example preemptibles over regular VMs
https://helm.estafette.io
MIT License
128 stars 16 forks source link

Getting error: Error creating GCloud client after Pod starts #13

Open mstein11 opened 5 years ago

mstein11 commented 5 years ago

Right after the Pod estafette-gke-node-pool-shifter starts it goes into CrashLoopBackOff with the following error message:

Error creating GCloud client

Firstly, I don't know how to fix the issue, any recommendations?

Secondly, a more elaborate error message would be really helpful, maybe the actual error could be logged?

mstein11 commented 5 years ago

I was able to solve the issue. The problem was, that I passed a base64 encoded file here:

--set-file googleServiceAccount=./google_service_account.json \

However, a more meaningful error message would be helpful here.

Thanks for your work anyway. :-)