Cannot access external service in Kubernetes AWS

I have already created a Kubernetes 1.5 cluster that works in AWS using KOPS. I have many nodes there with different types of instances, such as t2.medium, m3.medium, c4.large and c4.xlarge. But sometimes my Kubernetes programs run on t2.medium, m3.medium, c4.large cannot access external services such as Amazon Relational Database Service (RDS), Elasticsearch and external SMS service. For RDS, I received the PG :: ConnectionBad error message, and for others I received a timeout. Is there a problem from an AWS node instance or from Kubernetes pods? Because I never get an error when using c4.xlarge and above. If the problem arose from my AWS instance, why did this happen?

thank

+3
source share

Source: https://habr.com/ru/post/1679688/


All Articles