Skip to content

Commit 8ba6d96

Browse files
committed
fix explanation around the example queueing hint scenario
1 parent c35321d commit 8ba6d96

File tree

1 file changed

+5
-4
lines changed
  • content/en/blog/_posts/2024-12-12-scheduler-queueinghint

1 file changed

+5
-4
lines changed

content/en/blog/_posts/2024-12-12-scheduler-queueinghint/index.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Pods to the Unschedulable Pod Pool, multiple scheduling cycles would be wasted o
6363

6464
## Improvements to retrying Pod scheduling with QueuingHint
6565

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
6767
queue if changes in the cluster might allow the scheduler to place those Pods on nodes.
6868

6969
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`.
9393
the scheduling failure for the Pod. For `pod-a`, the scheduling queue records that the `InterPodAffinity`
9494
plugin rejected the Pod.
9595

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`,
99100
plugin's `QueuingHint` prompts the scheduling queue to move `pod-a` back into the ActiveQ or
100101
the BackoffQ component.
101102

0 commit comments

Comments
 (0)