exclude_reasons - Ignore events for a specific reason of a specific namespace, format: [NAMESPACE/]REASON, NAMESPACE can be empty for all namespaces. (default empty,use commas to separate multi items, e.g., SystemOOM,test/Unhealthy)[Optional]
Which issue(s) this PR fixes:
PR相关联issue:
Fixes #NONE
Does this PR introduce a breaking change?:
PR带来的破坏性变更:
What type of PR is this? PR类型是什么?
/kind api-change
What this PR does / why we need it: 这个PR解决了什么问题:
使用钉钉发送warning级别事件消息, 发现很多我们并不关注的事件, 比如 SystemOOM. 这是节点某个pod内存被限制了. 我们希望忽略告警该warning级别事件.
exclude_reasons
- Ignore events for a specific reason of a specific namespace, format: [NAMESPACE/]REASON, NAMESPACE can be empty for all namespaces. (default empty,use commas to separate multi items, e.g., SystemOOM,test/Unhealthy)[Optional]Which issue(s) this PR fixes: PR相关联issue:
Fixes #NONE
Does this PR introduce a breaking change?: PR带来的破坏性变更:
Test/Final result: 测试/最终运行结果:
本地通过打印日志,连接kubernetes集群. 进行测试. 符合预期.