Alert.spec
AlertSpec defines an alerting rule for events involving a list of objects.
| Field / Type | Description |
|---|---|
EventMetadata is an optional field for adding metadata to events dispatched by the controller. This can be used for enhancing the context of the event. If a field would override one already present on the original event as generated by the emitter, then the override doesn't happen, i.e. the original value is preserved, and an info log is printed. | |
eventSeverity | EventSeverity specifies how to filter events based on severity. If set to 'info' no events will be filtered.
|
EventSources specifies how to filter events based on the involved object kind, name and namespace. | |
ExclusionList specifies a list of Golang regular expressions to be used for excluding messages. | |
InclusionList specifies a list of Golang regular expressions to be used for including messages. | |
ProviderRef specifies which Provider this Alert should use. | |
summary | Summary holds a short description of the impact and affected cluster. Deprecated: Use EventMetadata instead.
|
suspend | Suspend tells the controller to suspend subsequent events handling for this Alert. |