From 6acf9bbff6df939b26699da591dab14eaba3d6e0 Mon Sep 17 00:00:00 2001 From: Dylan Murray Date: Tue, 17 Oct 2017 14:50:10 -0400 Subject: Bug 1503233 - Add liveness and readiness probe checks to ASB deploymentconfig --- roles/ansible_service_broker/tasks/install.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'roles/ansible_service_broker') 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 -- cgit v1.2.3 From 4136d7f8a2738484b01e45b9b2aea1c59c3222b5 Mon Sep 17 00:00:00 2001 From: Dylan Murray Date: Tue, 17 Oct 2017 15:12:53 -0400 Subject: Indentation errors --- roles/ansible_service_broker/tasks/install.yml | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'roles/ansible_service_broker') diff --git a/roles/ansible_service_broker/tasks/install.yml b/roles/ansible_service_broker/tasks/install.yml index 92e757b2f..cfd432cc3 100644 --- a/roles/ansible_service_broker/tasks/install.yml +++ b/roles/ansible_service_broker/tasks/install.yml @@ -231,20 +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 + 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 -- cgit v1.2.3