Skip to content

Commit

Permalink
fix: Corrections in the default support bundle spec (#4836)
Browse files Browse the repository at this point in the history
Signed-off-by: Evans Mungai <[email protected]>
  • Loading branch information
banjoh authored Aug 21, 2024
1 parent 2d720f9 commit 92b9d47
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pkg/supportbundle/staticspecs/defaultspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,14 @@ spec:
message: "Not all nodes are online."
- pass:
message: "All nodes are online."
outcomes:
- 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 @@ -143,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 92b9d47

Please sign in to comment.