-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eni: Fix Cilium overallocating network interfaces
This fixes a bug where Cilium wrongly overestimated the amount of available ENI IP addresses. This bug was introduced when we removed the primary ENI IP address from the IPAM pool, but forgot to adjust the number of addresses used to compare with the AWS instance limits. This led to the operator overestimating the number of available IP addresses by one. This in turn could lead to the operator first failing to allocate more IPs (because it exceeded the limit) and then unnecessarily creating a new ENI to fulfill the allocation request. Fixes: 7c1bb35 ("aws/ec2: Exclude primary ENI IP from IPAM pool") Fixes: #15877 Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
- Loading branch information
Showing
5 changed files
with
50 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters