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

fix: Corrections in the default support bundle spec #4836

Merged
merged 2 commits into from
Aug 21, 2024
Merged
Changes from all 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
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"
Loading