diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2016-03-29 15:23:25 -0400 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2016-03-31 17:47:38 -0400 |
commit | ccc5a30e00144bdb7a9cc2339aa2cb65defdb230 (patch) | |
tree | a7f28710e0c2c599c7c914084d3fb1849bf9226a /roles/openshift_master/templates | |
parent | c818db9b485b19256e1c19573cd0640fdabcb109 (diff) | |
download | openshift-ccc5a30e00144bdb7a9cc2339aa2cb65defdb230.tar.gz openshift-ccc5a30e00144bdb7a9cc2339aa2cb65defdb230.tar.bz2 openshift-ccc5a30e00144bdb7a9cc2339aa2cb65defdb230.tar.xz openshift-ccc5a30e00144bdb7a9cc2339aa2cb65defdb230.zip |
Allow for overriding scheduler config
- introduce openshift_master_scheduler_predicates and
openshift_master_scheduler_priorities to override the default scheduler
predicates and priorities
- switch default scheduler priorities to use SelectorSpreadPriority instead
of ServiceSpreadingPriority
Diffstat (limited to 'roles/openshift_master/templates')
-rw-r--r-- | roles/openshift_master/templates/scheduler.json.j2 | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/roles/openshift_master/templates/scheduler.json.j2 b/roles/openshift_master/templates/scheduler.json.j2 deleted file mode 100644 index cb5f43bb2..000000000 --- a/roles/openshift_master/templates/scheduler.json.j2 +++ /dev/null @@ -1,15 +0,0 @@ -{ - "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"}}} - ] -} |