Deploy InfluxDB in container for mcp11-k8s-calico
Change-Id: I450b3cb2b046f88a93be47142818fcfa3e68dce8
diff --git a/classes/cluster/virtual-mcp11-k8s-calico/stacklight/server.yml b/classes/cluster/virtual-mcp11-k8s-calico/stacklight/server.yml
index 83a5a6e..d03a4b3 100644
--- a/classes/cluster/virtual-mcp11-k8s-calico/stacklight/server.yml
+++ b/classes/cluster/virtual-mcp11-k8s-calico/stacklight/server.yml
@@ -1,6 +1,5 @@
classes:
- system.docker.host
-- system.linux.system.repo.influxdb
- system.linux.system.repo.tcp_elastic
# Needed to install Galera packages
- system.linux.system.repo.mcp.openstack
@@ -9,16 +8,17 @@
- 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.glusterfs.client.cluster
- system.glusterfs.client.volume.prometheus
+- system.glusterfs.client.volume.influxdb
- system.glusterfs.server.cluster
- system.glusterfs.server.volume.prometheus
+- system.glusterfs.server.volume.influxdb
- system.galera.server.cluster
- system.galera.server.database.grafana
-- system.influxdb.server.single
-- system.influxdb.database.stacklight
+- system.influxdb.client
+- system.influxdb.client.database.stacklight
- system.salt.minion.cert.prometheus_server
- system.keepalived.cluster.instance.prometheus_server_vip
- system.telegraf.agent.remote
@@ -27,6 +27,7 @@
- system.prometheus.server.target.etcd
- system.prometheus.server.target.kubernetes
- system.prometheus.server.target.dns
+- system.docker.swarm.stack.influxdb
- system.docker.swarm.stack.monitoring
- system.docker.swarm.stack.dashboard
- cluster.virtual-mcp11-k8s-calico.infra
@@ -40,6 +41,7 @@
docker_image_remote_agent: docker-prod-virtual.docker.mirantis.net/openstack-docker/telegraf:latest
docker_image_remote_storage_adapter: docker-prod-virtual.docker.mirantis.net/openstack-docker/remote_storage_adapter:latest
docker_image_grafana: grafana/grafana:4.3.2
+ docker_influxdb_image: influxdb:1.2
grafana_admin_password: admin
keepalived_prometheus_vip_address: ${_param:cluster_vip_address}
keepalived_prometheus_vip_password: password
@@ -59,13 +61,18 @@
grafana_database_type: mysql
grafana_database_host: ${_param:cluster_vip_address}
grafana_database_password: ${_param:mysql_grafana_password}
- influxdb_port: 8086
+ # InfluxDB
influxdb_admin_password: password
+ influxdb_port: 15016
influxdb_stacklight_password: lmapass
+ influxdb_client_host: ${_param:stacklight_monitor_address}
+ influxdb_client_port: ${_param:influxdb_port}
+ influxdb_client_password: ${_param:influxdb_admin_password}
prometheus_influxdb_url: "http://${_param:stacklight_monitor_address}:${_param:influxdb_port}/"
prometheus_influxdb_db: lma
prometheus_influxdb_username: lma
prometheus_influxdb_password: ${_param:influxdb_stacklight_password}
+ telegraf_remote_agent_influxdb_address: ${_param:stacklight_monitor_address}
elasticsearch:
server:
heap: