From d7ed84379864fa01395ab3837d19d770cb9c3d2b Mon Sep 17 00:00:00 2001 From: Zach Aller Date: Fri, 27 Apr 2018 15:55:19 -0500 Subject: [PATCH] [stable/promehteus-node-exporter] Fix health checks (#5295) * [stable/promehteus-node-exporter] Fix health checks Health checks need to be on the same port the service is on otherwise the health checks fail. * Update version of chart. Needed to update version of chart to pass CI --- stable/prometheus-node-exporter/Chart.yaml | 2 +- stable/prometheus-node-exporter/templates/daemonset.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stable/prometheus-node-exporter/Chart.yaml b/stable/prometheus-node-exporter/Chart.yaml index 6a9a4031e9..7cc530129f 100644 --- a/stable/prometheus-node-exporter/Chart.yaml +++ b/stable/prometheus-node-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "0.15.2" description: A Helm chart for prometheus node-exporter name: prometheus-node-exporter -version: 0.1.1 +version: 0.1.2 home: https://github.com/prometheus/node_exporter/ sources: - https://github.com/prometheus/node_exporter/ diff --git a/stable/prometheus-node-exporter/templates/daemonset.yaml b/stable/prometheus-node-exporter/templates/daemonset.yaml index b4345fe481..338121fd5f 100644 --- a/stable/prometheus-node-exporter/templates/daemonset.yaml +++ b/stable/prometheus-node-exporter/templates/daemonset.yaml @@ -37,11 +37,11 @@ spec: livenessProbe: httpGet: path: / - port: http + port: {{ .Values.service.port }} readinessProbe: httpGet: path: / - port: http + port: {{ .Values.service.port }} resources: {{ toYaml .Values.resources | indent 12 }} volumeMounts: @@ -63,4 +63,4 @@ spec: path: /proc - name: sys hostPath: - path: /sys \ No newline at end of file + path: /sys