Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pod is using node group role instead of service account in aws eks

I am using a service account with a role assigned to it using OIDC. I opened shell in the pod and checked current role,

enter image description here

but my service is doing the same thing but it is using node role,

enter image description here

Versions of Java SDK

  • aws-java-sdk-core:1.11.505
like image 615
PSKP Avatar asked Oct 21 '25 04:10

PSKP


1 Answers

The containers in your pods must use an AWS SDK version that supports assuming an IAM role via an OIDC web identity token file.

Check if you meet the minimum requirement for boto3 is 1.9.220, for botocore is 1.12.200.

like image 66
gohm'c Avatar answered Oct 23 '25 00:10

gohm'c