Add prometheus monitoring to reclass
Add:
* glusterfs server volume
* glusterfs client
* ssl keys for kubernetes
* prometheus related formulas
* telegraf system reclass
* prometheus system reclass
* docker swarm network
* docker swarm services:
- prometheus
- alertmanager
- pushgateway
- grafana
Change-Id: I4a5a60f35f4c96ca41ac2e94f27c7aefbc286cbf
diff --git a/prometheus/server/target/kubernetes.yml b/prometheus/server/target/kubernetes.yml
new file mode 100644
index 0000000..293895b
--- /dev/null
+++ b/prometheus/server/target/kubernetes.yml
@@ -0,0 +1,10 @@
+classes:
+- service.kubernetes.master.cluster
+parameters:
+ server:
+ target:
+ kubernetes:
+ api_ip: ${kubernetes:master:apiserver:address}
+ ssl_dir: /opt/prometheus/config
+ cert_name: kubelet-client.crt
+ key_name: kubelet-client.key