-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
map localhost to both 127.0.0.1 and ::1 #1714
Comments
I need to look into why this entry is used for the v6 loopback address on AL2 -- it seems like only a convention that varies by distro, but it could be load-bearing. FWIW, it looks like |
Using terraform-aws-eks module with AL2023 I'm able to get the localhost entries defined using
Hope this helps someone and that you consider fixing this issue in the AMI itself. |
The current
/etc/hosts
on a node is:This causes issues when using
kubectl port-forward
on a pod that is not listening on ipv4 interfaces. For example, when usingkubectl port-forward
on an istio proxy pod in an EKS-IPv6 cluster. When manually addinglocalhost
to::1
the problem goes away.Example failure when running
curl localhost:15000/config_dump
:Related: istio/istio#49496
The text was updated successfully, but these errors were encountered: