]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-defaults: Change the default prometheus port
authorBoris Ranto <branto@redhat.com>
Fri, 27 Sep 2019 13:45:58 +0000 (15:45 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Sat, 28 Sep 2019 02:40:42 +0000 (04:40 +0200)
The old default prometheus port 9090 clashes with cockpit in rhel 8. The
9090 port is reserved for web service administration of machines. We
should change the default to something that does not clash with other
ports used in rhel 8, at least by default. The port 9092 seems like a
good choice in my testing.

Signed-off-by: Boris Ranto <branto@redhat.com>
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml

index ff76bb82fcee0e7c5719ee247025c5854a6a729b..7b30c18d83c8fc720ebabb977eac7023bc736663 100644 (file)
@@ -759,7 +759,7 @@ dummy:
 #prometheus_data_dir: /var/lib/prometheus
 #prometheus_conf_dir: /etc/prometheus
 #prometheus_user_id: '65534'  # This is the UID used by the prom/prometheus container image
-#prometheus_port: 9090
+#prometheus_port: 9092
 #alertmanager_container_image: prom/alertmanager:latest
 #alertmanager_container_cpu_period: 100000
 #alertmanager_container_cpu_cores: 2
index b7b79e74dde4b568c1befd492c3ddf382d279158..f7f42aa696deb04e0f300639f429caf3a827965b 100644 (file)
@@ -759,7 +759,7 @@ prometheus_container_image: registry.redhat.io/openshift4/ose-prometheus:4.1
 #prometheus_data_dir: /var/lib/prometheus
 #prometheus_conf_dir: /etc/prometheus
 #prometheus_user_id: '65534'  # This is the UID used by the prom/prometheus container image
-#prometheus_port: 9090
+#prometheus_port: 9092
 alertmanager_container_image: registry.redhat.io/openshift4/ose-prometheus-alertmanager:4.1
 #alertmanager_container_cpu_period: 100000
 #alertmanager_container_cpu_cores: 2
index dd929ba9b7390e0cf1591c1c5e00bc26fe7a5164..19b9cc2eac9231d8c19ed0f3c6535f199972dedd 100644 (file)
@@ -751,7 +751,7 @@ prometheus_container_memory: 4
 prometheus_data_dir: /var/lib/prometheus
 prometheus_conf_dir: /etc/prometheus
 prometheus_user_id: '65534'  # This is the UID used by the prom/prometheus container image
-prometheus_port: 9090
+prometheus_port: 9092
 alertmanager_container_image: prom/alertmanager:latest
 alertmanager_container_cpu_period: 100000
 alertmanager_container_cpu_cores: 2