mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Fix comments
This commit is contained in:
parent
84dc704679
commit
a043bc438d
@ -108,7 +108,7 @@ type ScheduleAlgorithm interface {
|
||||
// It returns the node where preemption happened, a list of preempted pods, a
|
||||
// list of pods whose nominated node name should be removed, and error if any.
|
||||
Preempt(context.Context, *profile.Profile, *framework.CycleState, *v1.Pod, error) (selectedNode *v1.Node, preemptedPods []*v1.Pod, cleanupNominatedPods []*v1.Pod, err error)
|
||||
// Prioritizers returns a slice of priority config. This is exposed for
|
||||
// Extenders returns a slice of extender config. This is exposed for
|
||||
// testing.
|
||||
Extenders() []SchedulerExtender
|
||||
}
|
||||
|
@ -420,7 +420,7 @@ func NewLegacyRegistry() *LegacyRegistry {
|
||||
})
|
||||
|
||||
// The following two features are the last ones to be supported as predicate/priority.
|
||||
// Once they graduate to GA, there will be no more checking for featue gates here.
|
||||
// Once they graduate to GA, there will be no more checking for feature gates here.
|
||||
// Only register EvenPodsSpread predicate & priority if the feature is enabled
|
||||
if utilfeature.DefaultFeatureGate.Enabled(features.EvenPodsSpread) {
|
||||
klog.Infof("Registering EvenPodsSpread predicate and priority function")
|
||||
|
Loading…
Reference in New Issue
Block a user