summaryrefslogtreecommitdiffstats
path: root/roles/ansible_service_broker
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-10-20 13:32:16 -0400
committerGitHub <noreply@github.com>2017-10-20 13:32:16 -0400
commitbdf4c4de4fa7a533a7d555c3d21bc112ffa58efd (patch)
tree6c5894d1b46cf136c265fc70620fc95d95dfd7c6 /roles/ansible_service_broker
parent94a75431044d6124dcb22659cbecbb09c3cb3a38 (diff)
parent4136d7f8a2738484b01e45b9b2aea1c59c3222b5 (diff)
downloadopenshift-bdf4c4de4fa7a533a7d555c3d21bc112ffa58efd.tar.gz
openshift-bdf4c4de4fa7a533a7d555c3d21bc112ffa58efd.tar.bz2
openshift-bdf4c4de4fa7a533a7d555c3d21bc112ffa58efd.tar.xz
openshift-bdf4c4de4fa7a533a7d555c3d21bc112ffa58efd.zip
Merge pull request #5783 from dymurray/readiness
Bug 1503233 - Add liveness and readiness probe checks to ASB deployme…
Diffstat (limited to 'roles/ansible_service_broker')
-rw-r--r--roles/ansible_service_broker/tasks/install.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/ansible_service_broker/tasks/install.yml b/roles/ansible_service_broker/tasks/install.yml
index c0384b7c4..9a91927b8 100644
--- a/roles/ansible_service_broker/tasks/install.yml
+++ b/roles/ansible_service_broker/tasks/install.yml
@@ -235,6 +235,20 @@
value: /etc/ansible-service-broker/config.yaml
resources: {}
terminationMessagePath: /tmp/termination-log
+ readinessProbe:
+ httpGet:
+ port: 1338
+ path: /healthz
+ scheme: HTTPS
+ initialDelaySeconds: 15
+ timeoutSeconds: 1
+ livenessProbe:
+ httpGet:
+ port: 1338
+ path: /healthz
+ scheme: HTTPS
+ initialDelaySeconds: 15
+ timeoutSeconds: 1
- image: "{{ ansible_service_broker_etcd_image }}"
name: etcd