Skip to content

Restore kubelet monitoring trust and document storage initialization - #533

Merged
edgard merged 1 commit into
masterfrom
codex-fix-grafana-alerts
Nov 23, 2026
Merged

edgard merged 1 commit into
masterfrom
codex-fix-grafana-alerts

Conversation

@edgard

@edgard edgard commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

VictoriaMetrics lost kubelet scrapes after the node's self-signed serving chain changed. Refresh the public CA retrieved through authenticated Talos access, preserving hostname and certificate verification. Document checking the pin after kubelet restarts/upgrades and reloading trust after synchronization.

The storage readiness alert was caused by a missing first-run SMART timestamp. The existing SMART CronJob was run once successfully, starting extended tests on all five devices; storage readiness now passes. Document the initial job procedure and distinguish successful test initiation from completed self-tests.

This repairs the current CA pin; automatic kubelet trust renewal remains outside this change.

Validation

  • task fmt — passed.
  • task check — passed; native validation covered 48 apps and 84 raw manifests; all 28 offline tests passed.
  • git diff --check — passed.
  • Authenticated talosctl read /var/lib/kubelet/pki/kubelet.crt retrieved the public serving chain. openssl verify -CAfile ... -verify_hostname homelab ... failed with the previous pin and passed with the replacement.
  • HTTPS to the live kubelet with the replacement CA verified successfully and returned the expected unauthenticated HTTP 401.
  • Initial SMART Job completed successfully, all five tests were accepted, and the existing storage health script passed; health pod is 2/2 Ready. Extended self-tests are still running.
  • Independent code review found no actionable issues. Temporary certificate verification files were removed; no permanent tests added.
  • Post-merge acceptance passed at 06:27 Europe/Warsaw on 2026-11-23: Argo Synced/Healthy at b898924c; updated CA triggered an automatic collector rollout; kubelet target healthy with 598 samples and no scrape error; up{job="kubelet"} == 1; 78 container working-set series returned; all 28 uptime probes pass; all 60 Grafana alert instances are Normal.
  • SSD extended self-test completed without error. The four HDD extended tests remain in progress, with initial completion estimates through approximately 16:40 Europe/Warsaw.

Wiki review

Updated the VictoriaMetrics and storage-maintenance app pages and wiki log. Checked the uptime architecture and Talos bootstrap runbook; their explanations remain accurate. November's semantic review is already recorded in the log.

@edgard
edgard force-pushed the codex-fix-grafana-alerts branch from 84d121b to 25a3186 Compare November 23, 2026 05:23
@edgard
edgard merged commit b898924 into master Nov 23, 2026
4 checks passed
@edgard
edgard deleted the codex-fix-grafana-alerts branch November 23, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant