EKS cluster exhausted all our private app subnet's IP addresses #12
-
|
This message was extracted from a discussion that originally took place in Gruntwork Community Slack. Names and URLs have been removed where appropriate From a customer Hey Gruntwork folks! 👋 We ran into a problem in our Dev environment today where our EKS cluster exhausted all our private app subnet's IP addresses. Fun! I was looking into this more and saw that our subnets (created with Our CIDR uses My question for you is how to accomplish this. I see that I can specify |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
|
From a grunt Hello! I'm not the perfect person to answer this as I'm fairly new to calculating CIDR subnets, but I found Terraform's native functions Here, the subnet_bits are 4, subnet_spacing is 10. (Hashicorp calls these newbits and netnum.) Yeah, super fun when you run out of IPs for the EKS cluster. What size instances are you running, out of curiosity? |
Beta Was this translation helpful? Give feedback.
-
|
From a grunt In case you're interested, there's this very arcane documentation about how many ENIs you can have per instance type. Hat tip to person who pointed this out. https://github.com/aws/amazon-vpc-cni-k8s/blob/88d17816c1e07dbdb03a546f1966574ab14356f1/misc/eni-max-pods.txt |
Beta Was this translation helpful? Give feedback.
-
|
From a grunt Jumping in a bit late... AFAIK, there are a few alternatives to deal with the lack of IPs issue, with varying levels of difficulty:
|
Beta Was this translation helpful? Give feedback.
From a grunt
Jumping in a bit late...
AFAIK, there are a few alternatives to deal with the lack of IPs issue, with varying levels of difficulty: