Add annotations for prometheus

Change-Id: I2ffb64413d4cec25e53d2f463fe2a14172056271
This commit is contained in:
Bartosz Kupidura 2017-01-19 11:33:06 +01:00
parent 15a657cc03
commit 8feb3b5045
1 changed files with 4 additions and 1 deletions

View File

@ -1,9 +1,12 @@
dsl_version: 0.1.0
dsl_version: 0.4.0
service:
name: nova-api
ports:
- {{ nova.api_port }}
- {{ nova.metadata.port }}
annotations:
service:
prometheus.io/probe: "true"
containers:
- name: nova-api
image: nova-api