How frequently does it fail? Does it fail from every POD or from a particular POD? If it is from a particular POD, I would take a deeper look at the code running in the POD and the configuration as well as the Kubernetes network policies for that particular POD.
One thing I will recommend strongly is to implement retry in your connection? If the average connection time is 1-2 seconds, put a 5 sec timeout and implement retries in your code.
If this is happening regularly, then it could be a more serious issue, that needs to be looked at by AWS support.
EKS pod sometimes success connect to RDS cluster, but sometimes failed. How can I fix it?asked a month ago
I use the EC2Rescue, but I can`t upload data to support url.Accepted Answerasked 7 months ago
How can I connect Google Data Studio to an Private AWS RDS Postgres instance?asked 3 months ago
EKS Cluster stuck in updatingasked 6 months ago
In the midst of transferring all my domains to Route53 I have an important .UK.NET domain that I find I cant transfer to ROUTE53Accepted Answerasked 5 months ago
Can I import an RDS uncrypted mysql snapshot to an RDS encrypted mysql?Accepted Answerasked 6 months ago
How to debug pod failure on EKS?asked 4 years ago
Can't ssh to server sometimesasked a month ago
How can I direct kubelet on EKS to contact private VPC endpoints?asked 2 years ago
CodeDeploy sometimes fail with autoscalingasked 5 months ago