summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Murray <dymurray@redhat.com>2017-10-17 14:50:10 -0400
committerDylan Murray <dymurray@redhat.com>2017-10-17 14:50:10 -0400
commit6acf9bbff6df939b26699da591dab14eaba3d6e0 (patch)
tree60061af88becedbedd076ae8f2d6d6c50b26a0fe
parent8eabfab30f268874af8b555b57f88d1551c75ca6 (diff)
downloadopenshift-6acf9bbff6df939b26699da591dab14eaba3d6e0.tar.gz
openshift-6acf9bbff6df939b26699da591dab14eaba3d6e0.tar.bz2
openshift-6acf9bbff6df939b26699da591dab14eaba3d6e0.tar.xz
openshift-6acf9bbff6df939b26699da591dab14eaba3d6e0.zip
Bug 1503233 - Add liveness and readiness probe checks to ASB deploymentconfig
-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 0f4b71124..92e757b2f 100644
--- a/roles/ansible_service_broker/tasks/install.yml
+++ b/roles/ansible_service_broker/tasks/install.yml
@@ -231,6 +231,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