Open byakku opened 4 years ago
I suspect there's an issue with either 1) the iptables intercept rules not being configured (and so the agent isn't intercepting the call), 2) your role annotation is not on the right object (we used to see this happen some times when people are hand editing yaml rather than using our internal tooling). Your logs show the server is obtaining credentials successfully, so as long as the role you want to see there isn't showing it's likely one of those (and probably 2).
Is the error log message about watch of *v1.Pod ended with: too old resource version
a problem, or is that normal?
Problem: Pods on cluster are not picking up roles. When using
aws sts get-caller-identity
default node role is returned, when I assume role manually it works.Environment: EKS 1.16.2 Kiam 3.5
Logs etc.: NS annotation
PodAnnotation:
Logs from server:
Trust relationship in AWS is set up correctly, I can assume role properly and role works.
What could I miss/how to debug further?