diff --git a/in-cluster/default.yaml b/in-cluster/default.yaml index 2835f6b..39b1831 100644 --- a/in-cluster/default.yaml +++ b/in-cluster/default.yaml @@ -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