Open ITD27M01 opened 2 years ago
Thanks you for the issue. We would appreciate any help from the community on this issue. Hopefully someone from the community using AWS has better insights. Please do ask on skaffold slack channel https://app.slack.com/client/T09NY5SBT/CABQMSZA6
Probably this issue is a bit stale, but in case other EKS + ECR users want to use skaffold + kaniko, this now works pretty seamlessly using a service account for privileges and no extra secrets configuration is necessary with the new Pod Identity Associations https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html
I want to develop a workflow when developer makes changes to the code and this code continuously deployed to the test Kubernetes AWS EKS cluster.
Images are building in the EKS cluster by Kaniko because we are using ARM flavors.
Skaffold Looks like a good solution for such workflow, but I could not manage to start it to work in my environment.
I'm using the following skaffold.yaml:
skaffold build
fails to run:From the trace logs I see the 401 error for my registry:
But I can pull images on my laptop well.
There are other GET requests in the trace which is successful:
On the AWS EKS Cluster side I'm using the instance principal for the ECR auth and such job for kaniko build works well: