Add annotations for etcd
Those annotations will be used for prometheus auto-discovery. Bump DSL version to 0.4.0 Change-Id: Iba5768921397736c8f9b6aeb97d80cbf5711b1ff
This commit is contained in:
parent
288c06626e
commit
e2e6dc2b50
|
@ -1,9 +1,13 @@
|
|||
dsl_version: 0.1.0
|
||||
dsl_version: 0.4.0
|
||||
service:
|
||||
name: etcd
|
||||
ports:
|
||||
- {{ etcd.client_port }}
|
||||
- {{ etcd.server_port }}
|
||||
annotations:
|
||||
service:
|
||||
prometheus.io/port: "{{ etcd.client_port.cont }}"
|
||||
prometheus.io/scrape: "true"
|
||||
containers:
|
||||
- name: etcd
|
||||
image: etcd
|
||||
|
|
Loading…
Reference in New Issue