mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
generic_scheduler.go: Fix link in comment
Signed-off-by: Ce Gao <ce.gao@outlook.com>
This commit is contained in:
parent
158f6b78da
commit
1a2e1f2618
@ -177,7 +177,7 @@ func (g *genericScheduler) selectHost(priorityList schedulerapi.HostPriorityList
|
|||||||
// before the pod that triggered the preemption(s) has a chance to schedule
|
// before the pod that triggered the preemption(s) has a chance to schedule
|
||||||
// there, thereby preventing the pod that triggered the preemption(s) from
|
// there, thereby preventing the pod that triggered the preemption(s) from
|
||||||
// scheduling. Solution is given at:
|
// scheduling. Solution is given at:
|
||||||
// https://github.com/kubernetes/community/blob/master/contributors/design-proposals/pod-preemption.md#preemption-mechanics
|
// https://github.com/kubernetes/community/blob/master/contributors/design-proposals/scheduling/pod-preemption.md#preemption-mechanics
|
||||||
func (g *genericScheduler) Preempt(pod *v1.Pod, nodeLister algorithm.NodeLister, scheduleErr error) (*v1.Node, []*v1.Pod, error) {
|
func (g *genericScheduler) Preempt(pod *v1.Pod, nodeLister algorithm.NodeLister, scheduleErr error) (*v1.Node, []*v1.Pod, error) {
|
||||||
// Scheduler may return various types of errors. Consider preemption only if
|
// Scheduler may return various types of errors. Consider preemption only if
|
||||||
// the error is of type FitError.
|
// the error is of type FitError.
|
||||||
|
Loading…
Reference in New Issue
Block a user