Skip to content

Commit

Permalink
Added event-analyzer (#98)
Browse files Browse the repository at this point in the history
* event-analyzer added

* added & modified event-analyzer

* analyzer message updated
  • Loading branch information
5hubh49 authored Aug 4, 2024
1 parent 97a9e76 commit 097d8dd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions in-cluster/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -468,3 +468,15 @@ spec:
message: "There are PVCs using more than 80% of storage: {{ .PVC.ConcatenatedNames }}"
- pass:
message: "No PVCs are using more 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

0 comments on commit 097d8dd

Please sign in to comment.