-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compare_nodegroups: Tolerate small differences in memory capacity
The current comparator expects memory capacity values to be identical. However across AWS, Azure and GCP I quite often see very small differences in capacity, typically 8-16Ki. When this occurs the nodegroups are considered not equal when balancing is in effect which is unfortunate because, in reality, they are identical. This change will now tolerate a 128Ki difference before memory capacity values are considered unequal.
- Loading branch information
Showing
2 changed files
with
36 additions
and
5 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