Browse Source

Fix for Issue #2141 - added policy file

pull/2155/head
Virgil Chereches 6 years ago
parent
commit
8c45c88d15
1 changed files with 18 additions and 0 deletions
  1. 18
      roles/kubernetes/master/templates/kube-scheduler-policy.yaml.j2

18
roles/kubernetes/master/templates/kube-scheduler-policy.yaml.j2

@ -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
}
Loading…
Cancel
Save