Skip to content

Commit

Permalink
fix: Disable node maintain failed mount on events exporter on sev1 tr…
Browse files Browse the repository at this point in the history
…igger (#2822)

Set log level to "info" and add new failure reasons.

Updated the log level from "debug" to "info" for better clarity in production environments. Added new failure reasons ("FailedAttachVolume", "FailedMount", "InvalidDiskCapacity") to the event matchers to capture critical issues more effectively.

Signed-off-by: Fabio Felici <[email protected]>
  • Loading branch information
ffppa authored Feb 21, 2025
1 parent c6f295a commit b0dda23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ config:
- reason: "NodeNotReady"
- reason: "Drain|FailedMount|NetworkNotReady|VMEventScheduled"
namespace: "default|kube-system"
- reason: "FailedAttachVolume|FailedMount|InvalidDiskCapacity"
match:
- receiver: "${opsgenie_receiver_name}-critical"
type: "Warning"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
config:
logLevel: "debug"
logLevel: "info"
receivers:
- file:
layout: {}
Expand Down Expand Up @@ -53,6 +53,7 @@ config:
- reason: "NodeNotReady"
- reason: "Drain|FailedMount|NetworkNotReady|VMEventScheduled"
namespace: "default|kube-system"
- reason: "FailedAttachVolume|FailedMount|InvalidDiskCapacity"
match:
- receiver: "${opsgenie_receiver_name}-critical"
type: "Warning"
Expand Down

0 comments on commit b0dda23

Please sign in to comment.