Kubernetes: Have no access from EKS pod to RDS Postgres

后端 未结 2 1962
旧时难觅i
旧时难觅i 2021-02-06 05:30

I\'m trying to setup kubernetes on AWS. For this I created an EKS cluster with 3 nodes (t2.small) according to official AWS tutorial. Then I want to run a pod with some app whic

相关标签:
2条回答
  • 2021-02-06 05:49

    The answer I provided here may actually apply to your case, too.

    It is about using Services without selectors. Look also into ExternalName Services.

    0 讨论(0)
  • 2021-02-06 05:54

    Have you tried to enable "dns propagation" in the peering connection? It looks like you are not getting the internally routable dns. You can enable it by going into the setting for the peering connection and checking the box for dns propagation. I generally do this will all of the peering connections that I control.

    0 讨论(0)
提交回复
热议问题