瀏覽代碼

Don't verify node exporter is running

This test will fail if the playbook is not running on the master node, because it tries to access url on `localhost`.
Installation doesn't verify any of the other prometheus components are running, so I believe this verification can be removed.
Zohar Galor 7 年之前
父節點
當前提交
8e60b45614
共有 1 個文件被更改,包括 0 次插入9 次删除
  1. 0 9
      roles/openshift_prometheus/tasks/install_node_exporter.yaml

+ 0 - 9
roles/openshift_prometheus/tasks/install_node_exporter.yaml

@@ -48,15 +48,6 @@
     -n "{{ openshift_prometheus_namespace }}"
     | {{ openshift_client_binary }} apply --config={{ mktemp.stdout }}/admin.kubeconfig -f - -n "{{ openshift_prometheus_namespace }}"
 
-- name: Verify that node exporter is running
-  uri:
-    url: http://localhost:9100/metrics
-  register: node_exporter_health
-  until: node_exporter_health.status == 200
-  retries: 120
-  delay: 1
-  changed_when: false
-
 - name: Remove temp directory
   file:
     state: absent