Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agent pod in crash loop unless IPv6 disabled #16

Open
edlevin6612 opened this issue Aug 15, 2024 · 1 comment
Open

agent pod in crash loop unless IPv6 disabled #16

edlevin6612 opened this issue Aug 15, 2024 · 1 comment

Comments

@edlevin6612
Copy link

Launched a new EKS 1.30 cluster with a number of managed node groups backed by a variety of EKS Optimized AMIs (Amazon Linux 2, Amazon Linux 2023, x86 and ARM).

Noticed that eks-pod-identity-agent pods are in a crash loop on each node. Log shows:

ind-addr":"169.254.170.23:80","level":"info","msg":"Starting server...","time":"2024-08-15T19:35:24Z"}
{"bind-addr":"localhost:2703","level":"info","msg":"Starting server...","time":"2024-08-15T19:35:24Z"}
{"bind-addr":"[fd00:ec2::23]:80","level":"info","msg":"Starting server...","time":"2024-08-15T19:35:24Z"}
{"bind-addr":"[fd00:ec2::23]:80","level":"fatal","msg":"Unable to start server: listen tcp [fd00:ec2::23]:80: bind: cannot assign requested address","time":"2024-08-15T19:35:24Z"}
2024/08/15 19:35:24 Now listening for interrupts
2024/08/15 19:35:24 running command: exit status 1

I worked around the problem by disabling IPv6 on the add-on per https://docs.aws.amazon.com/eks/latest/userguide/pod-id-agent-config-ipv6.html

But curious why the agent is broken out of the box for ULA addresses

Thank you

@kmala
Copy link

kmala commented Aug 16, 2024

can you look at consideration https://docs.aws.amazon.com/eks/latest/userguide/pod-id-agent-setup.html and see if it applies to your use case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants