Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to provision Pod in EKS cluster configured with Fargate

I have recently setup an EKS cluster with Fargate. When I tried to deploy Redis Service on k8s using guide, I am getting the following errors:

  • Pod provisioning timed out (will retry) for pod: default/redis-operator-79d6d769dc-j246j
  • Disabled logging because aws-logging configmap was not found. configmap "aws-logging" not found

For solving the above errors, I tried the following solutions but none of them worked

  • Created a NAT gateway for granting internet connection to the instances in the private subnets.
  • Updated CoreDNS to run pods on Fargate. Reference
like image 942
Shobit Jain Avatar asked Oct 17 '25 08:10

Shobit Jain


1 Answers

The NAT gateway that I created was in the private subnet. The private subnets themselves don't have any access to the internet. Hence, I was stuck in a loop. By creating a nat gateway in a public subnet and then adding in the router table of private subnets being used by the EKS cluster I was able to schedule the pods

like image 163
Shobit Jain Avatar answered Oct 19 '25 00:10

Shobit Jain



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!