Skip to content

Commit

Permalink
fix: Corrections in the default support bundle spec
Browse files Browse the repository at this point in the history
Signed-off-by: Evans Mungai <[email protected]>
  • Loading branch information
banjoh committed Aug 20, 2024
1 parent 55d42a7 commit 576254b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pkg/supportbundle/staticspecs/defaultspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,14 @@ spec:
message: "Not all nodes are online."
- pass:
message: "All nodes are online."
- fail:
when: "!= Healthy" # Catch all unhealthy pods. A pod is considered healthy if it has a status of Completed, or Running and all of its containers are ready.
message: A Contour pod, {{ .Name }}, is unhealthy with a status of {{ .Status.Reason }}. Restarting the pod may fix the issue.
- nodeMetrics:
checkName: kotsadm rqlite PVC usage
filters:
pvc:
nameRegex: "kotsadm-rqlite.*"
outcomes:
- fail:
when: "pvcUsedPercentage >= 80%"
when: "pvcUsedPercentage >= 80"
message: "kotsadm-rqlite PVC using more than 80% of storage"
- pass:
message: "kotsadm-rqlite PVC is using less than 80% of storage"
Expand All @@ -142,7 +139,7 @@ spec:
nameRegex: "kotsadm-minio.*"
outcomes:
- fail:
when: "pvcUsedPercentage >= 80%"
when: "pvcUsedPercentage >= 80"
message: "kotsadm-minio PVC using more than 80% of storage"
- pass:
message: "kotsadm-minio PVC is using less than 80% of storage"

0 comments on commit 576254b

Please sign in to comment.