Upgrade eks-core-services in CircleCI #635
-
Hello all, i ran into a problem during the EKS cluster upgrade: we recently deployed ECS deploy runner and have not yet experienced with it. When I upgraded the
My understanding is that |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@nadiia-caspar Thanks for your message. I've routed your question to an EKS expert here at Gruntwork, and we'll get back to you shortly. That being said, it looks like the common Terraform resource causing the failure is |
Beta Was this translation helpful? Give feedback.
-
Without knowing the full details of your configuration, I'll try my best to explain... For the To fix the issue, the ECS Deploy Runner IAM Role has to be added to
Make sure you're not overwriting the entire Hope this helps! |
Beta Was this translation helpful? Give feedback.
Without knowing the full details of your configuration, I'll try my best to explain...
For the
ecs-deploy-runner
to be able to interact with the EKS cluster, the IAM Role the runner uses, must be mapped in theaws-auth
ConfigMap. Had the cluster been created with the IAM Roleecs-deploy-runner
is using, this would be unnecessary, as EKS implicitly grants admin RBAC for the IAM role that the cluster was created with. I'm assuming the cluster was created with a different role?To fix the issue, the ECS Deploy Runner IAM Role has to be added to
aws-auth
ConfigMap. If you're using theeks-aws-auth-merger
, you can use theeks-k8s-role-mapping
to create an entry in theaws-auth
ConfigMap, e.g.