-
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 Spot Fleet
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. Fleets can have multiple instance types and were not included in the calculation. This change enables calculation of kubeReserved for Fleets too. Since multiple instance types are supported it calculates the reservation based on the smallest instance type in the distribution.
- Loading branch information
1 parent
9bcfafe
commit f6316b1
Showing
3 changed files
with
98 additions
and
10 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