DNS problem on AWS EKS when running in private subnets

前端 未结 5 1968
自闭症患者
自闭症患者 2021-02-13 12:50

I have an EKS cluster setup in a VPC. The worker nodes are launched in private subnets. I can successfully deploy pods and services.

However, I\'m not able to perform DN

5条回答
  •  花落未央
    2021-02-13 13:45

    I feel like I have to give this a proper answer because coming upon this question was the answer to 10 straight hours of debugging for me. As @Daniel said in his comment, the issue I found was with my ACL blocking outbound traffic on UDP port 53 which apparently kubernetes uses to resolve DNS records.

    The process was especially confusing for me because one of my pods worked actually worked the entire time since (I think?) it happened to be in the same zone as the kubernetes DNS resolver.

提交回复
热议问题