Closed gaurav8297 closed 6 years ago
Hey @dggs123!
Yeah, we identified this issue and there was work ongoing in https://github.com/Azure/draft/pull/364 to pull in GCR support but it seemed like a pretty hacky solution to get authentication working properly. One idea is to pull out the cloud-provider specific initialization into separate provider plugins via #168, though after playing with the idea for a few weeks I'm not so sure that'll be the silver bullet I thought it'd be.
Out of curiosity, do you know if GKE clusters are authorized to pull and push to Google Container Registry?
I think this has been the biggest hurdle so far for Draft; how do we distribute images built in-cluster to the rest of the kubelets?
I was using deis but as deis project is shutting down. I'm thinking to shift my deployments to draft.
https://cloud.google.com/container-registry/docs/advanced-authentication
I tried using two methods described in the above doc for authenticating with gcr.io using draft but getting an auth error.
Out of curiosity, do you know if GKE clusters are authorized to pull and push to Google Container Registry?
I can confirm that GKE clusters are authorized to pull image from Google Container Registry (for the push part I never tried).
I had the same issue, could not authenticate Draft with gcr.io
I'm going to close this in favour of #355 to track GCR support in one ticket. Let's keep the ball rolling there. Thanks for the reports, everyone!
I was using a JSON key file to authenticate with my google cloud registry.
I created the key.json file from my draft service account in google credentials.
But i'm getting an error while draft up. Here's the log
Can anyone help me resolving this.