diff --git a/in-cluster/default.yaml b/in-cluster/default.yaml index 19af5bb..2835f6b 100644 --- a/in-cluster/default.yaml +++ b/in-cluster/default.yaml @@ -275,6 +275,7 @@ spec: collectorName: replicated.app-health-check get: url: https://replicated.app/healthz + - nodeMetrics: {} analyzers: - deploymentStatus: checkName: Check EKCO is operational @@ -459,3 +460,11 @@ spec: message: No default storage class found - pass: message: Default storage class found + - nodeMetrics: + checkName: Check for PVCs using more than 80% storage in the entire cluster + 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"