Skip to content

chore(deps): update node exporter to 1.12.1 - #9398

Open
chmill-zz wants to merge 5 commits into
mainfrom
nodeexporter112
Open

chore(deps): update node exporter to 1.12.1#9398
chmill-zz wants to merge 5 commits into
mainfrom
nodeexporter112

Conversation

@chmill-zz

Copy link
Copy Markdown
Contributor

Summary

  • update node-exporter-kubernetes from upstream 1.9.1 to 1.12.1 for supported Ubuntu and Azure Linux 3 VHDs
  • verify the exact package and binary version during VHD content testing
  • validate the new default collectors when a 1.12+ exporter is running
  • validate InfiniBand collection and new hardware-counter metrics on existing InfiniBand E2E nodes

Validation

  • go test ./nodeexporter ./components from e2e/
  • go test ./... -run ^'$' from e2e/
  • bash -n vhdbuilder/packer/test/linux-vhd-content-test.sh
  • jq empty parts/common/components.json
  • git diff --check
  • confirmed all pinned Ubuntu and Azure Linux 3 amd64/arm64 package artifacts are published
  • locally ran the published Ubuntu 24.04 amd64 package with the AgentBaker startup arguments and verified the existing AKS metric contract

Rollout notes

The existing Standard_ND96isr_H100_v5 and Standard_ND96asr_v4 scenarios exercise the shared node-exporter validator on InfiniBand hardware. Because these SKUs are quota and capacity constrained, a successful candidate-VHD HPC run should be recorded before merge if the scenario is skipped in normal PR validation.

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Windows Unit Test Results

  3 files   13 suites   40s ⏱️
409 tests 409 ✅ 0 💤 0 ❌
412 runs  412 ✅ 0 💤 0 ❌

Results for commit 4e7085b.

♻️ This comment has been updated with latest results.

@chmill-zz chmill-zz changed the title Update node exporter to 1.12.1 chore(deps): update node exporter to 1.12.1 Sep 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Both new version validators expect a leading v that real node-exporter 1.12.1 output does not contain.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the VHD-cached node exporter and expands validation of package versions, default collectors, and InfiniBand metrics.

Changes:

  • Bumps node-exporter from 1.9.1 to 1.12.1 across supported Ubuntu and Azure Linux 3 images.
  • Adds package/binary version checks to VHD content testing.
  • Adds E2E validation for new collectors and InfiniBand hardware counters.

Package Update Analysis: node-exporter-kubernetes

Version change: 1.9.1 → 1.12.1 (minor update)
OS variants affected: Ubuntu 20.04, 22.04, 24.04, 26.04; Azure Linux 3.0
OS variants NOT updated: None among supported variants

Key upstream changes include:

  • 🟡 New default collectors: bcachefs, kernel_hung, and dmmultipath.
  • 🟡 New InfiniBand hardware-counter metrics and device filtering.
  • 🟡 Behavioral changes to mdadm and filesystem collection.
  • 🟢 New NVMe, NFS, EDAC, CPU-frequency, and network metrics.
  • 🟢 Fixes for diskstats, filesystem, thermal-zone, perf, EDAC, netdev, and mountstats behavior.
  • No upstream security fixes or explicit breaking CLI changes were identified in the official changelog.

VHD size impact: No artifact-size data is available; the additional collectors may cause a modest binary-size increase.
Overall risk: 🟡 Medium—this is a multi-minor runtime update introducing new default collection behavior. Candidate-VHD and InfiniBand validation remain appropriate before merge.

File summaries
File Description
parts/common/components.json Pins node-exporter 1.12.1 packages for supported distributions.
vhdbuilder/packer/test/linux-vhd-content-test.sh Adds package and executable version checks.
e2e/validators.go Detects InfiniBand hardware and invokes collector validation.
e2e/nodeexporter/metrics.go Parses metrics and validates new collectors and hardware counters.
e2e/nodeexporter/metrics_test.go Adds collector-validation unit tests.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 2
  • Review effort level: Balanced

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread e2e/nodeexporter/metrics.go
Comment thread vhdbuilder/packer/test/linux-vhd-content-test.sh
Copilot AI review requested due to automatic review settings September 4, 2026 19:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new MANA startup behavior lacks the repository-required ShellSpec coverage.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment thread parts/linux/cloud-init/artifacts/node-exporter/node-exporter-startup.sh Outdated
Copilot AI review requested due to automatic review settings September 4, 2026 19:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The hardware-specific InfiniBand path still requires the documented candidate-VHD HPC validation before merge.

Review details
  • Files reviewed: 7/7 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

Copilot AI review requested due to automatic review settings September 4, 2026 19:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The runtime dependency jump and MANA workaround require the quota-constrained candidate-VHD HPC validation noted in the PR.

Review details
  • Files reviewed: 7/7 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

Copilot AI review requested due to automatic review settings September 4, 2026 19:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The collector upgrade and MANA workaround require final confirmation on quota-constrained InfiniBand hardware.

Review details
  • Files reviewed: 7/7 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

components This pull request updates cached components on Linux or Windows VHDs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants