Browse Source

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 years ago
parent
commit
8e60b45614
1 changed files with 0 additions and 9 deletions
  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