mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-07 18:47:55 +03:00
Fix for Issue #2141 - added policy file
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"kind" : "Policy",
|
||||||
|
"apiVersion" : "v1",
|
||||||
|
"predicates" : [
|
||||||
|
{"name" : "PodFitsHostPorts"},
|
||||||
|
{"name" : "PodFitsResources"},
|
||||||
|
{"name" : "NoDiskConflict"},
|
||||||
|
{"name" : "MatchNodeSelector"},
|
||||||
|
{"name" : "HostName"}
|
||||||
|
],
|
||||||
|
"priorities" : [
|
||||||
|
{"name" : "LeastRequestedPriority", "weight" : 1},
|
||||||
|
{"name" : "BalancedResourceAllocation", "weight" : 1},
|
||||||
|
{"name" : "ServiceSpreadingPriority", "weight" : 1},
|
||||||
|
{"name" : "EqualPriority", "weight" : 1}
|
||||||
|
],
|
||||||
|
"hardPodAffinitySymmetricWeight" : 10
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user