Add readiness check for murano api

Add httpGet check to not run murano-import-core job
before murano api is available

Change-Id: Iebbfeb661ee20a983d1758166e4c3436c29d0907
This commit is contained in:
Andrey Pavlov 2016-12-29 10:00:19 +00:00
parent 1b9c35b505
commit edbf51cb89
1 changed files with 5 additions and 1 deletions

View File

@ -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