Add Alerta to k8s and SL models
Change-Id: I8969e225826f7e1be49e3a8dc8dcaab7975ddeb3
PROD-Related: PROD-19760
diff --git a/classes/cluster/sl-k8s-calico/stacklight/proxy.yml b/classes/cluster/sl-k8s-calico/stacklight/proxy.yml
index de4e28c..ff816c5 100644
--- a/classes/cluster/sl-k8s-calico/stacklight/proxy.yml
+++ b/classes/cluster/sl-k8s-calico/stacklight/proxy.yml
@@ -2,6 +2,7 @@
- system.nginx.server.single
- system.nginx.server.proxy.stacklight.grafana
- system.nginx.server.proxy.stacklight.kibana
+- system.nginx.server.proxy.monitoring.alerta
- system.nginx.server.proxy.monitoring.prometheus_server
- system.nginx.server.proxy.monitoring.prometheus_alertmanager
- system.salt.minion.cert.proxy
diff --git a/classes/cluster/sl-k8s-calico/stacklight/server.yml b/classes/cluster/sl-k8s-calico/stacklight/server.yml
index a1aaf26..eabdb79 100644
--- a/classes/cluster/sl-k8s-calico/stacklight/server.yml
+++ b/classes/cluster/sl-k8s-calico/stacklight/server.yml
@@ -21,10 +21,15 @@
- system.salt.minion.cert.prometheus_server
- system.keepalived.cluster.instance.prometheus_server_vip
- system.telegraf.agent.remote
+- system.mongodb.server.cluster
+- system.prometheus.alerta
+- system.prometheus.alertmanager.notification.alerta
+- system.prometheus.server.alert.alerta_relabel
- system.prometheus.server.remote_write.docker
- system.prometheus.server.alertmanager.dns
- system.prometheus.server.target.dns
- system.docker.swarm.stack.monitoring.prometheus_global
+- system.docker.swarm.stack.monitoring.alerta
- system.docker.swarm.stack.dashboard
- cluster.sl-k8s-calico
parameters:
@@ -39,6 +44,7 @@
docker_image_remote_storage_adapter: docker-prod-virtual.docker.mirantis.net/openstack-docker/remote_storage_adapter:latest
docker_image_prometheus_relay: docker-prod-virtual.docker.mirantis.net/openstack-docker/prometheus_relay:latest
docker_image_grafana: grafana/grafana:5.1.3
+ docker_image_alerta: docker-prod-local.artifactory.mirantis.com/mirantis/external/alerta-web:latest
docker_influxdb_image: influxdb:1.2
grafana_admin_password: admin
keepalived_prometheus_vip_address: ${_param:cluster_vip_address}