Prometheus fixes
* Rename 'replica' to 'replicas' in docker/swarm/service/monitoring
* Add 'discovery_domain' environment for entrypoint
* Build prometheus/server/target/etcd.yml yourself
* Build prometheus/server/target/kubernetes.ym yourself
* Add prometheus/server/target/dns.yml
* Fix SSL permissions for prometheus
Change-Id: Icae085f6b0762ada58d03cde276963ec1e4bdefa
diff --git a/prometheus/server/target/kubernetes.yml b/prometheus/server/target/kubernetes.yml
index 293895b..d77ab3f 100644
--- a/prometheus/server/target/kubernetes.yml
+++ b/prometheus/server/target/kubernetes.yml
@@ -1,10 +1,8 @@
-classes:
-- service.kubernetes.master.cluster
parameters:
server:
target:
kubernetes:
- api_ip: ${kubernetes:master:apiserver:address}
+ api_ip: ${_param:kubernetes_control_address}
ssl_dir: /opt/prometheus/config
cert_name: kubelet-client.crt
key_name: kubelet-client.key