Migrate liveness check to new format

Change-Id: Ic8f7b67cc7188fd4a2898dd5c58789132d41afa0
Depends-On: I920029d4cb14981427e7f978778506fb0b69c435
This commit is contained in:
Aleksandr Mogylchenko 2016-10-17 12:20:24 +02:00
parent d1cb178c91
commit 50b30be50c
7 changed files with 30 additions and 10 deletions

View File

@ -6,7 +6,9 @@ service:
image: cron
probes:
readiness: "true"
liveness: "true"
liveness:
command: "true"
type: "exec"
volumes:
- name: mysql-logs
path: "/var/log/ccp/mysql"

View File

@ -8,7 +8,9 @@ service:
image: elasticsearch
probes:
readiness: "true"
liveness: "true"
liveness:
command: "true"
type: "exec"
daemon:
command: /usr/share/elasticsearch/bin/elasticsearch
files:
@ -17,7 +19,9 @@ service:
image: cron
probes:
readiness: "true"
liveness: "true"
liveness:
command: "true"
type: "exec"
daemon:
command: cron -f
files:

View File

@ -7,7 +7,9 @@ service:
image: grafana
probes:
readiness: "true"
liveness: "true"
liveness:
command: "true"
type: "exec"
daemon:
command: /usr/sbin/grafana-server --homepath=/usr/share/grafana --config=/etc/grafana/grafana.ini
cfg:default.paths.data=/var/lib/grafana

View File

@ -6,7 +6,9 @@ service:
image: heka
probes:
readiness: "true"
liveness: "true"
liveness:
command: "true"
type: "exec"
volumes:
- name: docker-sock
type: host

View File

@ -7,7 +7,9 @@ service:
image: influxdb
probes:
readiness: "true"
liveness: "true"
liveness:
command: "true"
type: "exec"
daemon:
command: influxd -config /etc/influxdb/influxdb.conf
files:

View File

@ -7,7 +7,9 @@ service:
image: kibana
probes:
readiness: "true"
liveness: "true"
liveness:
command: "true"
type: "exec"
daemon:
command: /opt/kibana/bin/kibana
dependencies:

View File

@ -6,7 +6,9 @@ service:
image: hindsight
probes:
readiness: "true"
liveness: "true"
liveness:
command: "true"
type: "exec"
pre:
- name: service-bootstrap
type: local
@ -30,7 +32,9 @@ service:
image: snap
probes:
readiness: "true"
liveness: "true"
liveness:
command: "true"
type: "exec"
privileged: true
daemon:
command: snapd --config /etc/snap/snap.conf
@ -50,7 +54,9 @@ service:
image: alarm-manager
probes:
readiness: "true"
liveness: "true"
liveness:
command: "true"
type: "exec"
daemon:
command: /opt/ccp/bin/alarm-manager.py -w /etc/alarm-manager
files: