Add annotations for prometheus

Change-Id: I3af86b4017a33ad05ccdba77b405d4303180c5d7
This commit is contained in:
Bartosz Kupidura 2017-01-19 11:32:15 +01:00
parent ee9de0a2b3
commit 51b1c16337
2 changed files with 10 additions and 2 deletions

View File

@ -1,8 +1,12 @@
dsl_version: 0.1.0
dsl_version: 0.4.0
service:
name: glance-api
ports:
- {{ glance.api_port }}
annotations:
service:
prometheus.io/probe: "true"
prometheus.io/probe_path: "/healthcheck"
containers:
- name: glance-api
image: glance-api

View File

@ -1,8 +1,12 @@
dsl_version: 0.1.0
dsl_version: 0.4.0
service:
name: glance-registry
ports:
- {{ glance.registry_port }}
annotations:
service:
prometheus.io/probe: "true"
prometheus.io/probe_path: "/healthcheck"
containers:
- name: glance-registry
image: glance-registry