Skip to content

fix(clustertool): wait for kube-prometheus-stack during bootstrap - #509

Merged
alfi0812 merged 1 commit into
trueforge-org:mainfrom
Boemeltrein:fix/prometheus-bootstrap-wait
Sep 21, 2026
Merged

alfi0812 merged 1 commit into
trueforge-org:mainfrom
Boemeltrein:fix/prometheus-bootstrap-wait

Conversation

@Boemeltrein

Copy link
Copy Markdown
Member

Description
Enable Wait: true for kube-prometheus-stack during bootstrap.

With Helm 4's hook-only strategy, installation can proceed before the chart's CRDs are established, causing intermittent no matches for kind "ServiceMonitor" errors. Enabling the watcher waits for CRD establishment and subsequently for the chart's resources to become ready.

Only the bootstrap wait setting changes; no chart values or custom Helm wrappers are added.

⚒️ Fixes #

⚙️ Type of change

  • 🆕 New feature (e.g., bootstrap, cluster config, or automation)
  • 🐛 Bugfix (e.g., node setup, config generation)
  • 🔃 Chart Updates/Changes included with clustertool
  • 🔃 Refactor (internal changes, no functional impact)
  • ⚠️ Breaking change (changes Talos cluster behavior)

🧪 How Has This Been Tested?

  • Successfully completed a Windows bootstrap with this change.

  • Standalone Helm SDK 4.3.0 tests with a simulated Kubernetes API: watcher passed 10/10 runs; hook-only failed 10/10 runs.

  • Helm SDK 3.19.0 comparison: both Wait=false and Wait=true passed 10/10 runs.

  • Run clustertool commands locally

  • Verified cluster bootstrap on Talos nodes

  • Checked generated configs are valid

  • Validated cluster state after changes

📃 Notes:

✔️ Checklist:

  • ⚖️ Followed project style and contribution guidelines
  • 👀 Self-reviewed my changes
  • 🧪 Documented testing steps
  • 🏷️ PR title follows convention:
    • feat(clustertool):
    • fix(clustertool):
    • chore(clustertool):

Please don't blindly check all the boxes. Read them and only check those that apply.
Those checkboxes are there for the reviewer to see what is this all about and
the status of this PR with a quick glance.

@alfi0812
alfi0812 merged commit 573e243 into trueforge-org:main Sep 21, 2026
10 of 11 checks passed
@Boemeltrein
Boemeltrein deleted the fix/prometheus-bootstrap-wait branch September 28, 2026 07:59
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