-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release-1.16] Schduler: MAXFILLUP strategy will spread vreplicas acr…
…oss multiple pods (#8291) * Schduler: MAXFILLUP strategy will spread vreplicas across multiple pods the MAXFILLUP algorithm was using an affinity strategy, meaning that it would prioritize adding new vreplicas to pods with the same resources. However, the downside is that if one pod goes down or gets re-scheduled the entire resource would be down and not produce events. By spreading replicas across multiple real replicas we would guarantee better availability. Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Remove configurable HA scheduler, fix reserved replicas logic Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Log reserved Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Handle unschedulables pods and always start from reserved no matter what is placements Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Add reserved + overcommit Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Add benchmark + reduce OrdinalFromPodName calls Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Handle unschedulable pods Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> --------- Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com>
- Loading branch information
1 parent
291c0a8
commit 6db9011
Showing
37 changed files
with
865 additions
and
5,904 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
111 changes: 0 additions & 111 deletions
111
pkg/scheduler/plugins/core/availabilitynodepriority/availability_node_priority.go
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.