-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added kubeReserved calculation support for mixed instance NodeGroups
Support for calculating CPU, RAM, and Storage reservations via `kubeReserved` was added to eksctl in v0.16. However, it only supported NodeGroups with a single instance type. ASGs can have multiple instance types and were not included in the calculation. This change enables calculation of kubeReserved for mixed instances too. Since multiple instance types are supported it calculates the reservation based on the smallest instance type in the distribution. Additional kubeReserved tests covering unknown innstance types. The new tests ensure that unknown instance types are properly ignored during calculation of kubeReserved.
- Loading branch information
1 parent
6a108dc
commit aa0c44c
Showing
3 changed files
with
139 additions
and
15 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