Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to configure secondary IP preallocation #114

Closed
cnidus opened this issue Jun 25, 2018 · 3 comments
Closed

Ability to configure secondary IP preallocation #114

cnidus opened this issue Jun 25, 2018 · 3 comments
Assignees
Milestone

Comments

@cnidus
Copy link

cnidus commented Jun 25, 2018

EKS preallocates the max # of IPs that a given instance supports. This pre-warms and allows for fast pod spinup. However, it leads to over allocation of IPs and in some cases IP exhaustion of a given VPC / subnet.

In extreme examples, where a node always hosts a single pod, there could be upwards for 50 IPs wasted on each host.

Suggestion is for the IP pre-warming to be a configurable value.

@liwenwu-amazon liwenwu-amazon self-assigned this Jun 27, 2018
@liwenwu-amazon liwenwu-amazon added this to the v1.1 milestone Jun 27, 2018
@liwenwu-amazon
Copy link
Contributor

#119 propose to have a configuration option to use different subnet for Pods than worker node's subnet. This can also help to prevent IP exhaustion of node's subnet.

@sdavids13
Copy link

@liwenwu-amazon We have been given a relatively small VPC CIDR block for use since we have a lot of accounts that are peered together the address space is divided accordingly. We have found that our addresses are all being consumed despite relatively few pods being deployed. If #119 is to allow the use of a different subnet within the same VPC that wouldn't provide any relief from the lack of private IPs available to us.

@liwenwu-amazon
Copy link
Contributor

This has been addressed with release 1.1.0. Please refer https://aws.amazon.com/blogs/opensource/vpc-cni-plugin-v1-1-available/ for the details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants