You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/blog/_posts/2024-12-12-scheduler-queueinghint/index.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ Pods to the Unschedulable Pod Pool, multiple scheduling cycles would be wasted o
63
63
64
64
## Improvements to retrying Pod scheduling with QueuingHint
65
65
66
-
Unschedulable Pods only move back into the ActiveQ or BackoffQ components of the scheduler
66
+
Unschedulable Pods only move back into the ActiveQ or BackoffQ components of the scheduling
67
67
queue if changes in the cluster might allow the scheduler to place those Pods on nodes.
68
68
69
69
Prior to v1.32, each plugin registered which cluster changes could solve their failures, an object creation, update, or deletion in the cluster (called _cluster events_),
@@ -93,9 +93,10 @@ the Pod affinity specification for `pod-a`.
93
93
the scheduling failure for the Pod. For `pod-a`, the scheduling queue records that the `InterPodAffinity`
94
94
plugin rejected the Pod.
95
95
96
-
`pod-a` will never be schedulable until the InterPodAffinity failure is resolved. The `InterPodAffinity` plugin's
97
-
`QueuingHint` callback function checks every Pod update that occurs in the cluster. If, for example,
98
-
a Pod gets a label update that matches the Pod affinity requirement of `pod-a`, the `InterPodAffinity`
96
+
`pod-a` will never be schedulable until the InterPodAffinity failure is resolved.
97
+
There're some scenarios that the failure could be resolved, one example is an existing running pod gets a label update and becomes matching a Pod affinity.
98
+
For this scenario, the `InterPodAffinity` plugin's `QueuingHint` callback function checks every Pod label update that occurs in the cluster.
99
+
Then, if a Pod gets a label update that matches the Pod affinity requirement of `pod-a`, the `InterPodAffinity`,
99
100
plugin's `QueuingHint` prompts the scheduling queue to move `pod-a` back into the ActiveQ or
0 commit comments