I have a wierd issue in my eks cluster.
I have a deployment which is using a dedicated service-account. The service-account has annotation to a role in aws:
eks.amazonaws.com/role-arn: arn:aws:iam::xxxxxxxxxx:role/prod-us-west-2-default-xxxxx For some reason the deployment will not scale up. when I look at teh events , this is what I see:
14s Warning FailedCreate job/xxxxx-shared-db-migration Error creating: Timeout: request did not complete within requested timeout - context deadline exceeded 32m Warning FailedCreate job/xxxxx-shared-db-migration Error creating: Post "https://172.16.112.21:443/api/v1/namespaces/default/pods": The describe of the deployment is :
Conditions: Type Status Reason ---- ------ ------ Available False MinimumReplicasUnavailable Progressing False ProgressDeadlineExceeded ReplicaFailure True FailedCreate obviously there is not pod/container logs/errors since the pod does not even gets created.
if I disconnect the iam-role annotation for the service-account , the deployment can start without an issue.
Any ideas ? any help would be appreciated