Add annotations for prometheus
Change-Id: I2ffb64413d4cec25e53d2f463fe2a14172056271
This commit is contained in:
parent
15a657cc03
commit
8feb3b5045
|
@ -1,9 +1,12 @@
|
||||||
dsl_version: 0.1.0
|
dsl_version: 0.4.0
|
||||||
service:
|
service:
|
||||||
name: nova-api
|
name: nova-api
|
||||||
ports:
|
ports:
|
||||||
- {{ nova.api_port }}
|
- {{ nova.api_port }}
|
||||||
- {{ nova.metadata.port }}
|
- {{ nova.metadata.port }}
|
||||||
|
annotations:
|
||||||
|
service:
|
||||||
|
prometheus.io/probe: "true"
|
||||||
containers:
|
containers:
|
||||||
- name: nova-api
|
- name: nova-api
|
||||||
image: nova-api
|
image: nova-api
|
||||||
|
|
Loading…
Reference in New Issue