From 2f946b26f308d2ee6e3eb2b0d307c30b98a462a4 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Mon, 7 Aug 2017 08:35:09 +0200 Subject: Adds readiness probes --- addon-cp/rest.yml | 4 ++++ addon-cp/schemas.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/addon-cp/rest.yml b/addon-cp/rest.yml index a450eab..a08587d 100644 --- a/addon-cp/rest.yml +++ b/addon-cp/rest.yml @@ -24,6 +24,10 @@ spec: command: - kafka-rest-start - /etc/kafka-rest/kafka-rest.properties + readinessProbe: + httpGet: + path: / + port: 80 ports: - containerPort: 80 volumeMounts: diff --git a/addon-cp/schemas.yml b/addon-cp/schemas.yml index 00bd62f..8265640 100644 --- a/addon-cp/schemas.yml +++ b/addon-cp/schemas.yml @@ -24,6 +24,10 @@ spec: command: - schema-registry-start - /etc/schema-registry/schema-registry.properties + readinessProbe: + httpGet: + path: / + port: 80 ports: - containerPort: 80 volumeMounts: -- cgit v1.2.3