Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PVC check in default spec #96

Merged
merged 6 commits into from
Jul 22, 2024
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions in-cluster/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ spec:
collectorName: replicated.app-health-check
get:
url: https://replicated.app/healthz
- nodeMetrics: {}
analyzers:
- deploymentStatus:
checkName: Check EKCO is operational
Expand Down Expand Up @@ -459,3 +460,11 @@ spec:
message: No default storage class found
- pass:
message: Default storage class found
- nodeMetrics:
checkName: Check for PVC usage is less than 80% in the entire cluster
nvanthao marked this conversation as resolved.
Show resolved Hide resolved
outcomes:
- fail:
when: "pvcUsedPercentage >= 80"
message: "There are PVCs using more than 80% of storage: {{ .PVC.ConcatenatedNames }}"
- pass:
message: "No PVCs are using more than 80% of storage"
Loading