Add proper readiness probe

Also remove liveness one as it does nothing

Change-Id: Ifefd87046db04690bd9ae2ada3cef8eb616aa584
This commit is contained in:
Yuriy Taraday 2016-11-19 13:20:40 +03:00
parent ac11c649f9
commit 1d9ddf2b8c
1 changed files with 4 additions and 4 deletions

View File

@ -6,10 +6,10 @@ service:
- name: horizon
image: horizon
probes:
readiness: "true"
liveness:
command: "true"
type: "exec"
readiness:
type: "httpGet"
port: {{ horizon.port.cont }}
path: "/"
volumes:
- name: horizon-logs
path: "/var/log/ccp/horizon"