Rename prometheus glusterfs volume
Change-Id: I9a2127c5344ed3b5d81767c899271d983888210f
diff --git a/docker/swarm/service/monitoring/prometheus_alertmanager.yml b/docker/swarm/service/monitoring/prometheus_alertmanager.yml
index 74b20f5..99eb226 100644
--- a/docker/swarm/service/monitoring/prometheus_alertmanager.yml
+++ b/docker/swarm/service/monitoring/prometheus_alertmanager.yml
@@ -19,5 +19,5 @@
volume:
site:
type: bind
- source: /srv/volumes/prometheus-config
+ source: /srv/volumes/prometheus
destination: /opt/alertmanager/config
diff --git a/docker/swarm/service/monitoring/prometheus_server.yml b/docker/swarm/service/monitoring/prometheus_server.yml
index 24a9193..94207ca 100644
--- a/docker/swarm/service/monitoring/prometheus_server.yml
+++ b/docker/swarm/service/monitoring/prometheus_server.yml
@@ -25,5 +25,5 @@
volume:
site:
type: bind
- source: /srv/volumes/prometheus-config
+ source: /srv/volumes/prometheus
destination: /opt/prometheus/config
diff --git a/glusterfs/client/volume/prometheus.yml b/glusterfs/client/volume/prometheus.yml
index f8b2f3d..2b2b7db 100644
--- a/glusterfs/client/volume/prometheus.yml
+++ b/glusterfs/client/volume/prometheus.yml
@@ -4,7 +4,7 @@
glusterfs:
client:
volumes:
- prometheus-config:
- path: /srv/volumes/prometheus-config
+ prometheus:
+ path: /srv/volumes/prometheus
server: ${_param:prometheus_glusterfs_service_host}
opts: 'defaults'
diff --git a/glusterfs/server/volume/prometheus.yml b/glusterfs/server/volume/prometheus.yml
index 2c4ca31..144847a 100644
--- a/glusterfs/server/volume/prometheus.yml
+++ b/glusterfs/server/volume/prometheus.yml
@@ -2,13 +2,13 @@
glusterfs:
server:
volumes:
- prometheus-config:
- storage: /srv/glusterfs/prometheus-config
+ prometheus:
+ storage: /srv/glusterfs/prometheus
replica: 3
bricks:
- - ${_param:cluster_node01_address}:/srv/glusterfs/prometheus-config
- - ${_param:cluster_node02_address}:/srv/glusterfs/prometheus-config
- - ${_param:cluster_node03_address}:/srv/glusterfs/prometheus-config
+ - ${_param:cluster_node01_address}:/srv/glusterfs/prometheus
+ - ${_param:cluster_node02_address}:/srv/glusterfs/prometheus
+ - ${_param:cluster_node03_address}:/srv/glusterfs/prometheus
options:
cluster.readdir-optimize: On
nfs.disable: On
diff --git a/salt/minion/cert/k8s_client_prometheus.yml b/salt/minion/cert/k8s_client_prometheus.yml
index 04cd374..678ddbe 100644
--- a/salt/minion/cert/k8s_client_prometheus.yml
+++ b/salt/minion/cert/k8s_client_prometheus.yml
@@ -5,8 +5,8 @@
k8s_client_prometheus:
host: ${_param:salt_minion_ca_host}
authority: ${_param:salt_minion_ca_authority}
- key_file: /srv/volumes/prometheus-config/kubelet-client.key
- cert_file: /srv/volumes/prometheus-config/kubelet-client.crt
+ key_file: /srv/volumes/prometheus/kubelet-client.key
+ cert_file: /srv/volumes/prometheus/kubelet-client.crt
common_name: kubelet-client
signing_policy: cert_client
alternative_names: IP:${_param:cluster_vip_address},IP:${_param:cluster_node01_address},IP:${_param:cluster_node02_address},IP:${_param:cluster_node03_address},IP:${_param:kubernetes_internal_api_address}