summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_1_minor/post.yml
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-02-12 15:36:12 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-02-12 16:43:33 -0500
commit1dfb62b848f866c41e7b7b94a929ee9d3a486c91 (patch)
tree5ed9fa2e6cb9bc0d90ba65a142a9394a6f7169da /playbooks/common/openshift-cluster/upgrades/v3_1_minor/post.yml
parent9160b641b79f08fb28976b7f0ceed62dcea8f9a8 (diff)
downloadopenshift-1dfb62b848f866c41e7b7b94a929ee9d3a486c91.tar.gz
openshift-1dfb62b848f866c41e7b7b94a929ee9d3a486c91.tar.bz2
openshift-1dfb62b848f866c41e7b7b94a929ee9d3a486c91.tar.xz
openshift-1dfb62b848f866c41e7b7b94a929ee9d3a486c91.zip
Updating the 3.1.1 router to match the new liveness probe configuration
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/v3_1_minor/post.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_1_minor/post.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_1_minor/post.yml b/playbooks/common/openshift-cluster/upgrades/v3_1_minor/post.yml
index d7a2ac405..196393b2a 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_1_minor/post.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_1_minor/post.yml
@@ -37,7 +37,7 @@
when: all_routers.rc == 0
command: >
{{ oc_cmd }} patch dc/{{ item['labels']['deploymentconfig'] }} -p
- '{"spec":{"template":{"spec":{"containers":[{"name":"router","image":"{{ router_image }}"}]}}}}'
+ '{"spec":{"template":{"spec":{"containers":[{"name":"router","image":"{{ router_image }}","livenessProbe":{"tcpSocket":null,"httpGet":{"path": "/healthz", "port": 1936, "host": "localhost", "scheme": "HTTP"},"initialDelaySeconds":10,"timeoutSeconds":1}}]}}}}'
--api-version=v1
with_items: haproxy_routers