Change:
We should use /kind cleanup
/remove-kind feature /good-first-issue
This request has been marked as suitable for new contributors. Please ensure that the issue body includes answers to the following questions: Why are we solving this issue? To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points? Does this issue have zero to low barrier of entry? How can the assignee reach out to you for help? For more details on the requirements of such an issue, please see and ensure that they are met. If this request no longer meets these requirements, the label can be removed by commenting with the command. <detailsIn response to : /remove-kind feature /good-first-issue Instructions for interacting with me using PR comments are available . If you have questions or suggestions related to my behavior, please file an issue against the repository. </details
/sig scheduling /triage accepted
/assign

Discussion:
"k8s.io/kubernetes/pkg/scheduler/internal/heap" "k8s.io/kubernetes/pkg/scheduler/metrics" "k8s.io/kubernetes/pkg/scheduler/util" <ins> "k8s.io/utils/clock" </ins> ) const (

framework.PodNominator stop  chan struct{} <del> clock util.Clock </del> <ins> clock clock.Clock </ins> // pod initial backoff duration. podInitialBackoffDuration time.Duration

} type priorityQueueOptions struct { <del> clock                             util.Clock </del> <ins> clock                             clock.Clock </ins> podInitialBackoffDuration         time.Duration podMaxBackoffDuration             time.Duration podMaxInUnschedulablePodsDuration time.Duration

// Option configures a PriorityQueue type Option func(*priorityQueueOptions) <del> // WithClock sets clock for PriorityQueue, the default clock is util.RealClock. func WithClock(clock util.Clock) Option { </del> <ins> // WithClock sets clock for PriorityQueue, the default clock is clock.RealClock. func WithClock(clock clock.Clock) Option { </ins> return func(o *priorityQueueOptions) { o.clock = clock }

} var defaultPriorityQueueOptions = priorityQueueOptions{ <del> clock:                             util.RealClock{}, </del> <ins> clock:                             clock.RealClock{}, </ins> podInitialBackoffDuration:         DefaultPodInitialBackoffDuration, podMaxBackoffDuration:             DefaultPodMaxBackoffDuration, podMaxInUnschedulablePodsDuration: DefaultPodMaxInUnschedulablePodsDuration,

<del> /* Copyright 2018 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package util import ( "time" ) // Clock provides an interface for getting the current time type Clock interface { Now() time.Time } // RealClock implements a clock using time type RealClock struct{} // Now returns the current time with time.Now func (RealClock) Now() time.Time { return time.Now() } </del>