Skip to content

Commit 98a3182

Browse files
committed
correct comment
1 parent afed311 commit 98a3182

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pkg/scheduler/internal/queue/scheduling_queue.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,8 +1200,10 @@ func (p *PriorityQueue) movePodsToActiveOrBackoffQueue(logger klog.Logger, podIn
12001200
// Scheduling-gated Pods never get schedulable with any events,
12011201
// except the Pods themselves got updated, which isn't handled by movePodsToActiveOrBackoffQueue.
12021202
// So, we can skip them early here so that they don't go through isPodWorthRequeuing,
1203-
// which isn't fast enough when the number of scheduling-gated Pods in unschedulablePods is large.
1204-
// This is a hotfix, which might be changed
1203+
// which isn't fast enough to keep a sufficient scheduling throughput
1204+
// when the number of scheduling-gated Pods in unschedulablePods is large.
1205+
// https://github.com/kubernetes/kubernetes/issues/124384
1206+
// This is a hotfix for this issue, which might be changed
12051207
// once we have a better general solution for the shared lock issue.
12061208
//
12071209
// Note that we cannot skip all pInfo.Gated Pods here

0 commit comments

Comments
 (0)