From 8b25036d143e9b89e96b289f05999464df49eb5d Mon Sep 17 00:00:00 2001 From: Kimmo Katajisto Date: Mon, 8 Jun 2026 11:16:57 +0000 Subject: [PATCH] Templatize node-exporter port in otel-lgtm-stack DaemonSet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lines 98, 106, 113, 124 had hardcoded 9100 while the Service (lines 37-38) already used .Values.services.nodeExporter.metrics. This caused CrashLoopBackOff on clusters where AMD fleet-observability or a host systemd node_exporter pre-occupies port 9100 (rck-g03, workload-dev tw016). The cluster-values port override had no effect on the DaemonSet. Default in values.yaml remains 9100 — no change to other clusters. Co-Authored-By: Claude Sonnet 4 --- .../otel-lgtm-stack/v1.0.7/templates/node-exporter.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sources/otel-lgtm-stack/v1.0.7/templates/node-exporter.yaml b/sources/otel-lgtm-stack/v1.0.7/templates/node-exporter.yaml index 42559d1d..91087d09 100644 --- a/sources/otel-lgtm-stack/v1.0.7/templates/node-exporter.yaml +++ b/sources/otel-lgtm-stack/v1.0.7/templates/node-exporter.yaml @@ -95,7 +95,7 @@ spec: - --path.sysfs=/host/sys - --path.rootfs=/host/root - --path.udev.data=/host/root/run/udev/data - - --web.listen-address=[$(HOST_IP)]:9100 + - --web.listen-address=[$(HOST_IP)]:{{ .Values.services.nodeExporter.metrics }} securityContext: readOnlyRootFilesystem: true env: @@ -103,14 +103,14 @@ spec: value: 0.0.0.0 ports: - name: metrics - containerPort: 9100 + containerPort: {{ .Values.services.nodeExporter.metrics }} protocol: TCP livenessProbe: failureThreshold: 3 httpGet: httpHeaders: path: / - port: 9100 + port: {{ .Values.services.nodeExporter.metrics }} scheme: HTTP initialDelaySeconds: 0 periodSeconds: 10 @@ -121,7 +121,7 @@ spec: httpGet: httpHeaders: path: / - port: 9100 + port: {{ .Values.services.nodeExporter.metrics }} scheme: HTTP initialDelaySeconds: 0 periodSeconds: 10