Skip to content

Commit

Permalink
feat: add OOMKilled and Default Storage Class analysers (#4852)
Browse files Browse the repository at this point in the history
  • Loading branch information
5hubh49 authored Sep 2, 2024
1 parent 1b27901 commit d57b924
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pkg/supportbundle/staticspecs/defaultspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,22 @@ spec:
message: "kotsadm-minio PVC using more than 80% of storage"
- pass:
message: "kotsadm-minio PVC is using less than 80% of storage"
- event:
checkName: event-oom-check
namespace: default
reason: "OOMKilling"
kind: Node
outcomes:
- fail:
when: "true"
message: Event {{ .Reason }} by object {{ .InvolvedObject.Name }} kind {{ .InvolvedObject.Kind }} has message {{ .Message }}
- pass:
when: "false"
message: No OOMKilling event detected
- storageClass:
checkName: Check for default storage class
outcomes:
- fail:
message: No default storage class found
- pass:
message: Default storage class found

0 comments on commit d57b924

Please sign in to comment.