flux v2.9.5

Alert.spec

AlertSpec defines an alerting rule for events involving a list of objects.

8 fields
Alert.spec fields and descriptions
Field / TypeDescription
map[string]string

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
string

EventSeverity specifies how to filter events based on severity. If set to 'info' no events will be filtered.

  • enum: ["info","error"]
  • default: "info"
object[] required

EventSources specifies how to filter events based on the involved object kind, name and namespace.

string[]

ExclusionList specifies a list of Golang regular expressions to be used for excluding messages.

string[]

InclusionList specifies a list of Golang regular expressions to be used for including messages.

object required

ProviderRef specifies which Provider this Alert should use.

summary
string

Summary holds a short description of the impact and affected cluster. Deprecated: Use EventMetadata instead.

  • maxLength: 255
suspend
boolean

Suspend tells the controller to suspend subsequent events handling for this Alert.