Deploy InfluxDB for Prometheus remote storage
This change deploys the InfluxDB service on the mon nodes of
virtual-mcp11-{dvr,contrail,k8s-calico,k8s-contrail}. InfluxDB will be
used by Prometheus for long-term storage.
Change-Id: Ibfb2dd08e539dbd0bb73ef03713f5f0d77d7da40
diff --git a/classes/cluster/virtual-mcp11-contrail/stacklight/server.yml b/classes/cluster/virtual-mcp11-contrail/stacklight/server.yml
index 50c5b6e..28ac052 100755
--- a/classes/cluster/virtual-mcp11-contrail/stacklight/server.yml
+++ b/classes/cluster/virtual-mcp11-contrail/stacklight/server.yml
@@ -1,6 +1,7 @@
classes:
- system.docker.host
- system.linux.system.repo.glusterfs
+- system.linux.system.repo.influxdb
- system.linux.system.repo.mcp.salt
- system.linux.system.repo.tcp_elastic
- system.heka.remote_collector
@@ -13,7 +14,10 @@
- system.kibana.server.single
- system.haproxy.proxy.listen.stacklight.elasticsearch
- system.haproxy.proxy.listen.stacklight.kibana
+- system.haproxy.proxy.listen.stacklight.influxdb
- service.haproxy.proxy.single
+- system.influxdb.server.single
+- system.influxdb.database.stacklight
- system.keepalived.cluster.instance.prometheus_server_vip
- system.telegraf.agent.remote
- system.prometheus.server.alertmanager.dns
@@ -47,6 +51,9 @@
glusterfs_node01_address: ${_param:openstack_control_node01_address}
glusterfs_node02_address: ${_param:openstack_control_node02_address}
glusterfs_node03_address: ${_param:openstack_control_node03_address}
+ influxdb_port: 8086
+ influxdb_admin_password: password
+ influxdb_stacklight_password: lmapass
linux:
network:
interface: