Skip to content

Commit f4be31f

Browse files
committed
chore: wording
1 parent d0bc09a commit f4be31f

File tree

1 file changed

+1
-1
lines changed
  • keps/sig-scheduling/4832-async-preemption

1 file changed

+1
-1
lines changed

keps/sig-scheduling/4832-async-preemption/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ So, we don't have to pay a special attention to this issue.
147147
To achieve an asynchronous preemption, we will change the preemption plugin's implementation like the following:
148148
1. The preemption PostFilter plugin calculates the preemption target and nominate the Pod for the Node. (We'll use `AddNominatedPod` API exposed from the scheduling framework to plugins.)
149149
2. The preemption PostFilter plugin starts the goroutine to make API calls inside, and return success status (= not wait for the goroutine to finish).
150-
3. The preemption plugin gates the Pod, which the preemption is in-progress, at PreEnqueue extension point so that the target Pod won't be retried during the preemption.
150+
3. The preemption plugin blocks the Pod while the preemption routine is in-progress, using PreEnqueue extension point, so that the target Pod won't be retried during this time.
151151

152152
Then, afterwards the preemption goroutine makes actual API calls to delete victime Pods and set `Pod.Status.NominatedNodeName`.
153153
If the preemption goroutine fails at some point, it reverts the nomination via `AddNominatedPod` with [`clearNominatedNode`](https://github.com/kubernetes/kubernetes/blob/f5c538418189e119a8dbb60e2a2b22394548e326/pkg/scheduler/schedule_one.go#L135).

0 commit comments

Comments
 (0)