Skip to content

Commit

Permalink
feat: Fake new scheduling improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekFrank committed Feb 26, 2025
1 parent b2f439d commit 83db4f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controllers/provisioning/scheduling/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ func (r Results) TruncateInstanceTypes(maxInstanceTypes int) Results {

//nolint:gocyclo
func (s *Scheduler) Solve(ctx context.Context, pods []*corev1.Pod) Results {
// Adding a new comment to get github actions to think the scheduling alg changed
defer metrics.Measure(DurationSeconds, map[string]string{ControllerLabel: injection.GetControllerName(ctx)})()
// We loop trying to schedule unschedulable pods as long as we are making progress. This solves a few
// issues including pods with affinity to another pod in the batch. We could topo-sort to solve this, but it wouldn't
Expand Down

0 comments on commit 83db4f2

Please sign in to comment.