Fix node-exporter port conflict by templatizing hardcoded port 9100#739
Open
silokimmo wants to merge 1 commit into
Open
Fix node-exporter port conflict by templatizing hardcoded port 9100#739silokimmo wants to merge 1 commit into
silokimmo wants to merge 1 commit into
Conversation
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 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
9100port references in the node-exporter DaemonSet template with{{ .Values.services.nodeExporter.metrics }}9100(no change for clusters without conflicts)cluster-values:Background
On nodes where a host-level node_exporter already occupies port 9100 (AMD
fleet-observabilitystack, Ubuntuprometheus-node-exportersystemd package), the cluster-forge DaemonSet pod enters CrashLoopBackOff immediately after bootstrap. The 4 hardcoded9100references prevented any per-cluster port override from working.Affected environments: rck-g03-mi350x, workload-dev/tw016.
Test plan
fix-node-exporter-port-templatebranch)helmParametersoverride in cluster-values → node-exporter came up Running on port 9101Jira: EAI-6663
🤖 Generated with Claude Code