chore: wording

This commit is contained in:
Kensei Nakada 2024-11-07 11:54:42 +09:00
parent e601eb7c5a
commit 105d489aa4

View File

@ -621,7 +621,8 @@ func (p *PriorityQueue) Activate(logger klog.Logger, pods map[string]*v1.Pod) {
continue
}
// If this pod is in-flight, register the activation event or update moveRequestCycle so that the pod will be requeued when it comes back.
// If this pod is in-flight, register the activation event (for when QHint is enabled) or update moveRequestCycle (for when QHints is disabled)
// so that the pod will be requeued when it comes back.
// Specifically in the in-tree plugins, this is for the scenario with the preemption plugin
// where the async preemption API calls are all done or fail at some point before the Pod comes back to the queue.
p.activeQ.addEventsIfPodInFlight(nil, pod, []framework.ClusterEvent{framework.EventForceActivate})