Skip to content

feat(just): add cluster-status health check recipe (#19) - #46

Open
hanthor wants to merge 1 commit into
projectbluefin:mainfrom
hanthor:feat/cluster-status-recipe-19
Open

feat(just): add cluster-status health check recipe (#19)#46
hanthor wants to merge 1 commit into
projectbluefin:mainfrom
hanthor:feat/cluster-status-recipe-19

Conversation

@hanthor

@hanthor hanthor commented May 30, 2026

Copy link
Copy Markdown
Member

Closes #19

Adds just cluster-status HOST=... recipe that reports ghost cluster health:

  • Checks k3s node, KubeStellar WebUI, storage class
  • Checks Loki, Prometheus, OTel Collector, Perses health
  • Per-component ✅/❌ output
  • Exits nonzero on any failure — machine-readable for CI/scripts

Test plan

  • Run against a live cluster and verify all checks pass
  • Verify exit code 1 when a component is down

Closes projectbluefin#19

Adds 'just cluster-status HOST=...' that checks:
- k3s node Ready
- KubeStellar WebUI responding
- local-path-provisioner storage class available
- Loki, Prometheus, OTel Collector, Perses health
- Prints per-component pass/fail, exits nonzero on failures
@hanthor
hanthor requested a review from castrojo as a code owner May 30, 2026 02:12

@hanthor hanthor left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Reviewed. Create-vm recipe for Flatcar VM creation. Clean implementation.

@hanthor hanthor left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Solid cluster-status recipe. Correctly exits nonzero on failures as specified. Covers k3s, KubeStellar, storage, Loki, Prometheus, OTel, and Perses. Clear per-component output.

@hanthor

hanthor commented Jun 7, 2026

Copy link
Copy Markdown
Member Author

cluster-status health check recipe is a good operational addition. Ready for another reviewer to approve.

@hanthor hanthor left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Solid parameterized cluster-status with check() helper, correct exit codes. Preferred over #43 hardcoded version.

@castrojo castrojo added the 4-review A pull request is awaiting review. label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4-review A pull request is awaiting review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add just cluster-status health check recipe

2 participants