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/vars | |
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/vars')
-rw-r--r-- | roles/openshift_master/vars/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_master/vars/main.yml b/roles/openshift_master/vars/main.yml index 75f08e378..198f9235d 100644 --- a/roles/openshift_master/vars/main.yml +++ b/roles/openshift_master/vars/main.yml @@ -8,6 +8,12 @@ openshift_master_session_secrets_file: "{{ openshift_master_config_dir }}/sessio openshift_master_policy: "{{ openshift_master_config_dir }}/policy.json" openshift_version: "{{ openshift_pkg_version | default(openshift_image_tag) | default(openshift.common.image_tag) | default('') }}" +scheduler_config: + kind: Policy + apiVersion: v1 + predicates: "{{ openshift.master.scheduler_predicates }}" + priorities: "{{ openshift.master.scheduler_priorities }}" + openshift_master_valid_grant_methods: - auto - prompt |