Просмотр исходного кода

Specify service port for Prometheus scraping

Closes #8431
Lukáš Vlček 6 лет назад
Родитель
Сommit
a8e78728c5
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      roles/openshift_logging_elasticsearch/tasks/main.yaml

+ 1 - 0
roles/openshift_logging_elasticsearch/tasks/main.yaml

@@ -396,6 +396,7 @@
       metadata#annotations#prometheus.io/scrape: "true"
       metadata#annotations#prometheus.io/scheme: "https"
       metadata#annotations#prometheus.io/path: "/_prometheus/metrics"
+      metadata#annotations#prometheus.io/port: "4443"
 
 - name: Check to see if PVC already exists
   oc_obj: