From edbf51cb8959fc52f974a9596b51773cc7385aaa Mon Sep 17 00:00:00 2001 From: Andrey Pavlov Date: Thu, 29 Dec 2016 10:00:19 +0000 Subject: [PATCH] Add readiness check for murano api Add httpGet check to not run murano-import-core job before murano api is available Change-Id: Iebbfeb661ee20a983d1758166e4c3436c29d0907 --- service/murano-api.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/service/murano-api.yaml b/service/murano-api.yaml index 1bf3e51..134314c 100644 --- a/service/murano-api.yaml +++ b/service/murano-api.yaml @@ -6,7 +6,11 @@ service: containers: - name: murano-api image: murano-api - # TODO(sreshetniak): add probes + probes: + readiness: + type: "httpGet" + port: {{ murano.api_port.cont }} + path: "/" pre: - name: murano-db-create type: single