OS
Schema Hub

EventSeries

EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in "k8s.io/client-go/tools/events/event_broadcaster.go" shows how this struct is updated on heartbeats and can guide customized reporter implementations.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/events.api.k8s.io/EventSeries_v1.json
Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/events.api.k8s.io/EventSeries_v1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

countintegerRequired
count is the number of occurrences in this series up to the last heartbeat time.
lastObservedTimeobjectRequired
lastObservedTime is the time when last Event from the series was seen before last heartbeat.