summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/defaults
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-03-06 11:37:34 -0500
committerGitHub <noreply@github.com>2017-03-06 11:37:34 -0500
commit6a002fb9641d2631038bba8d80e5467f312fa0db (patch)
tree403e706af79879f0c5626905155856222f7c32ed /roles/openshift_hosted/defaults
parente62ca53dabfa9587fc21f5d4a53b5d468ad13744 (diff)
parent9454767696f1b3a442dec5fa9a01848e93f53cc6 (diff)
downloadopenshift-6a002fb9641d2631038bba8d80e5467f312fa0db.tar.gz
openshift-6a002fb9641d2631038bba8d80e5467f312fa0db.tar.bz2
openshift-6a002fb9641d2631038bba8d80e5467f312fa0db.tar.xz
openshift-6a002fb9641d2631038bba8d80e5467f312fa0db.zip
Merge pull request #3549 from kwoodson/router_sharding
Adding support for multiple router shards.
Diffstat (limited to 'roles/openshift_hosted/defaults')
-rw-r--r--roles/openshift_hosted/defaults/main.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/roles/openshift_hosted/defaults/main.yml b/roles/openshift_hosted/defaults/main.yml
index 17a0d5301..0a6299c9b 100644
--- a/roles/openshift_hosted/defaults/main.yml
+++ b/roles/openshift_hosted/defaults/main.yml
@@ -1,2 +1,30 @@
---
registry_volume_claim: 'registry-claim'
+
+openshift_hosted_router_edits:
+- key: spec.strategy.rollingParams.intervalSeconds
+ value: 1
+ action: put
+- key: spec.strategy.rollingParams.updatePeriodSeconds
+ value: 1
+ action: put
+- key: spec.strategy.activeDeadlineSeconds
+ value: 21600
+ action: put
+
+openshift_hosted_routers:
+- name: router
+ replicas: "{{ replicas }}"
+ namespace: default
+ serviceaccount: router
+ selector: "{{ openshift_hosted_router_selector }}"
+ images: "{{ openshift_hosted_router_image }}"
+ edits: "{{ openshift_hosted_router_edits }}"
+ stats_port: 1936
+ ports:
+ - 80:80
+ - 443:443
+ certificates: "{{ openshift_hosted_router_certificate | default({}) }}"
+
+
+openshift_hosted_router_certificates: {}