Merge pull request #2737 from Miouge1/update-scheduler
Update kube-scheduler policy
This commit is contained in:
commit
cbb959151c
1 changed files with 16 additions and 6 deletions
|
@ -2,17 +2,27 @@
|
||||||
"kind" : "Policy",
|
"kind" : "Policy",
|
||||||
"apiVersion" : "v1",
|
"apiVersion" : "v1",
|
||||||
"predicates" : [
|
"predicates" : [
|
||||||
{"name" : "PodFitsHostPorts"},
|
{"name" : "MaxEBSVolumeCount"},
|
||||||
{"name" : "PodFitsResources"},
|
{"name" : "MaxGCEPDVolumeCount"},
|
||||||
|
{"name" : "MaxAzureDiskVolumeCount"},
|
||||||
|
{"name" : "MatchInterPodAffinity"},
|
||||||
{"name" : "NoDiskConflict"},
|
{"name" : "NoDiskConflict"},
|
||||||
{"name" : "MatchNodeSelector"},
|
{"name" : "GeneralPredicates"},
|
||||||
{"name" : "HostName"}
|
{"name" : "CheckNodeMemoryPressure"},
|
||||||
|
{"name" : "CheckNodeDiskPressure"},
|
||||||
|
{"name" : "CheckNodePIDPressure"},
|
||||||
|
{"name" : "CheckNodeCondition"},
|
||||||
|
{"name" : "PodToleratesNodeTaints"},
|
||||||
|
{"name" : "CheckVolumeBinding"}
|
||||||
],
|
],
|
||||||
"priorities" : [
|
"priorities" : [
|
||||||
|
{"name" : "SelectorSpreadPriority", "weight" : 1},
|
||||||
|
{"name" : "InterPodAffinityPriority", "weight" : 1},
|
||||||
{"name" : "LeastRequestedPriority", "weight" : 1},
|
{"name" : "LeastRequestedPriority", "weight" : 1},
|
||||||
{"name" : "BalancedResourceAllocation", "weight" : 1},
|
{"name" : "BalancedResourceAllocation", "weight" : 1},
|
||||||
{"name" : "ServiceSpreadingPriority", "weight" : 1},
|
{"name" : "NodePreferAvoidPodsPriority", "weight" : 1},
|
||||||
{"name" : "EqualPriority", "weight" : 1}
|
{"name" : "NodeAffinityPriority", "weight" : 1},
|
||||||
|
{"name" : "TaintTolerationPriority", "weight" : 1}
|
||||||
],
|
],
|
||||||
"hardPodAffinitySymmetricWeight" : 10
|
"hardPodAffinitySymmetricWeight" : 10
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue