-
Notifications
You must be signed in to change notification settings - Fork 754
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
Add a configuration knob to allow Pods to use different VPC subnets #119
Comments
Our use case is multi-"zone" network where we run different types of workload in a specific subnets. Simplified example: publicly faced pods shouldn't be in a network with access to internal DB. Right now we have to run an ASG in every our zone. Having ability to attach ENIs from different subnets and use annotations to map pods to specific subnets can drastically increase density and node's utilization. |
@xdrus Thank you for sharing your use case. I have few questions:
|
and pod spec:
(e.g. using syntax for selectors). That said I don't have enough knowledge how to solve scheduling issue. It is not a problem with calico as it is not constrained on number of IPs per node. I wish AWS supported up to 100 IP per ENI, then it is not an issues (as max number of pods per node is 100 anyway). Of course in this case we will need a way to control how many secondary IPs per interface are pre allocated. |
this is a duplicate of #131 |
Today, ipamD (design) uses primary ENI's subnets and security groups when allocating new ENIs. This means Pods running on the nodes are using same subnets and security groups as node's primary ENI.
Here are few use cases that requires Pods to used different VPC subnets than the subnet used by node's primary ENI:
The text was updated successfully, but these errors were encountered: