What you're looking for is documentation from AWS explaining how to access ECR in headless mode with credentials don't expire quickly (in 1 hour etc). I was not able to find such documentation with a quick search (for reference GCR equivalent of this is documented here <https://cloud.google.com/container-registry/docs/advanced-authentication#json_key_file> ).
It looks like this same question is asked here (but for minikube) and has some solutions: https://github.com/kubernetes/minikube/issues/366 On Tue, May 8, 2018 at 11:16 AM Ajay S <linux.ajaysaw...@gmail.com> wrote: > Hello All, > > Can we use AWS ECR in GKE? I read somewhere that for pulling images from > AWS ECR you need to assign some roles to the instance which I guess can't > be assigned to Google Cloud Compute VMs. I tried it with Kubernetes secrets > but everytime it is failing. > > If we can access AWS ECR from GKE, can someone direct me to some help > pages? > > Regards, > Ajay > > -- > You received this message because you are subscribed to the Google Groups > "Kubernetes user discussion and Q&A" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to kubernetes-users+unsubscr...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > Visit this group at https://groups.google.com/group/kubernetes-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.