summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/templates/scheduler.json.j2
blob: cb5f43bb2b56a3fc5e017d4e408aca15590ee324 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "kind": "Policy",
  "apiVersion": "v1",
  "predicates": [
    {"name": "MatchNodeSelector"},
    {"name": "PodFitsResources"},
    {"name": "PodFitsPorts"},
    {"name": "NoDiskConflict"},
    {"name": "Region", "argument": {"serviceAffinity" : {"labels" : ["region"]}}}
  ],"priorities": [
    {"name": "LeastRequestedPriority", "weight": 1},
    {"name": "ServiceSpreadingPriority", "weight": 1},
    {"name": "Zone", "weight" : 2, "argument": {"serviceAntiAffinity" : {"label": "zone"}}}
  ]
}