Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "KusciaSort"
Name is the name of the plugin used in the plugin registry and configurations.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KusciaSort ¶
type KusciaSort struct {
// contains filtered or unexported fields
}
func (*KusciaSort) Less ¶
func (ks *KusciaSort) Less(podInfo1, podInfo2 *framework.QueuedPodInfo) bool
Less is used to sort pods in the scheduling queue in the following order. 1. Compare the priorities of Pods. 2. Compare the initialization timestamps of TaskResource or Pods. 3. Compare the keys of DomainID/Pods: <namespace>/<podName>.
Click to show internal directories.
Click to hide internal directories.