summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Kupidura <bkupidura@mirantis.com>2016-12-28 11:24:24 +0100
committerBartosz Kupidura <bkupidura@mirantis.com>2016-12-28 11:25:05 +0100
commite2e6dc2b50531f93516147e535eb52ced4c9b2e2 (patch)
tree78b66dd747b3ddc9826320506ea1df90ced8bbcb
parent288c06626e46c8159b03f2ee9f3172fe2f249b03 (diff)
Add annotations for etcd
Those annotations will be used for prometheus auto-discovery. Bump DSL version to 0.4.0 Change-Id: Iba5768921397736c8f9b6aeb97d80cbf5711b1ff
Notes
Notes (review): Code-Review+2: Andrey Pavlov <apavlov@mirantis.com> Code-Review+2: Yuriy Taraday <yorik.sar@gmail.com> Workflow+1: Yuriy Taraday <yorik.sar@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 28 Dec 2016 11:20:47 +0000 Reviewed-on: https://review.openstack.org/415432 Project: openstack/fuel-ccp-etcd Branch: refs/heads/master
-rw-r--r--service/etcd.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/service/etcd.yaml b/service/etcd.yaml
index 18252e7..cbea60b 100644
--- a/service/etcd.yaml
+++ b/service/etcd.yaml
@@ -1,9 +1,13 @@
1dsl_version: 0.1.0 1dsl_version: 0.4.0
2service: 2service:
3 name: etcd 3 name: etcd
4 ports: 4 ports:
5 - {{ etcd.client_port }} 5 - {{ etcd.client_port }}
6 - {{ etcd.server_port }} 6 - {{ etcd.server_port }}
7 annotations:
8 service:
9 prometheus.io/port: "{{ etcd.client_port.cont }}"
10 prometheus.io/scrape: "true"
7 containers: 11 containers:
8 - name: etcd 12 - name: etcd
9 image: etcd 13 image: etcd