mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
rename ExtenderConfig to Extender
This commit is contained in:
parent
13b5effead
commit
7254517c5c
@ -39,7 +39,7 @@ type ExtenderPreemptionArgs struct {
|
|||||||
// Pod being scheduled
|
// Pod being scheduled
|
||||||
Pod *v1.Pod
|
Pod *v1.Pod
|
||||||
// Victims map generated by scheduler preemption phase
|
// Victims map generated by scheduler preemption phase
|
||||||
// Only set NodeNameToMetaVictims if ExtenderConfig.NodeCacheCapable == true. Otherwise, only set NodeNameToVictims.
|
// Only set NodeNameToMetaVictims if Extender.NodeCacheCapable == true. Otherwise, only set NodeNameToVictims.
|
||||||
NodeNameToVictims map[string]*Victims
|
NodeNameToVictims map[string]*Victims
|
||||||
NodeNameToMetaVictims map[string]*MetaVictims
|
NodeNameToMetaVictims map[string]*MetaVictims
|
||||||
}
|
}
|
||||||
@ -72,10 +72,10 @@ type ExtenderArgs struct {
|
|||||||
// Pod being scheduled
|
// Pod being scheduled
|
||||||
Pod *v1.Pod
|
Pod *v1.Pod
|
||||||
// List of candidate nodes where the pod can be scheduled; to be populated
|
// List of candidate nodes where the pod can be scheduled; to be populated
|
||||||
// only if ExtenderConfig.NodeCacheCapable == false
|
// only if Extender.NodeCacheCapable == false
|
||||||
Nodes *v1.NodeList
|
Nodes *v1.NodeList
|
||||||
// List of candidate node names where the pod can be scheduled; to be
|
// List of candidate node names where the pod can be scheduled; to be
|
||||||
// populated only if ExtenderConfig.NodeCacheCapable == true
|
// populated only if Extender.NodeCacheCapable == true
|
||||||
NodeNames *[]string
|
NodeNames *[]string
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,10 +85,10 @@ type FailedNodesMap map[string]string
|
|||||||
// ExtenderFilterResult represents the results of a filter call to an extender
|
// ExtenderFilterResult represents the results of a filter call to an extender
|
||||||
type ExtenderFilterResult struct {
|
type ExtenderFilterResult struct {
|
||||||
// Filtered set of nodes where the pod can be scheduled; to be populated
|
// Filtered set of nodes where the pod can be scheduled; to be populated
|
||||||
// only if ExtenderConfig.NodeCacheCapable == false
|
// only if Extender.NodeCacheCapable == false
|
||||||
Nodes *v1.NodeList
|
Nodes *v1.NodeList
|
||||||
// Filtered set of nodes where the pod can be scheduled; to be populated
|
// Filtered set of nodes where the pod can be scheduled; to be populated
|
||||||
// only if ExtenderConfig.NodeCacheCapable == true
|
// only if Extender.NodeCacheCapable == true
|
||||||
NodeNames *[]string
|
NodeNames *[]string
|
||||||
// Filtered out nodes where the pod can't be scheduled and the failure messages
|
// Filtered out nodes where the pod can't be scheduled and the failure messages
|
||||||
FailedNodes FailedNodesMap
|
FailedNodes FailedNodesMap
|
||||||
|
Loading…
Reference in New Issue
Block a user