Jump to navigation ↓

Event core/v1

Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.

Fields

apiVersion: v1
kind: Event
metadata (ObjectMeta)

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

involvedObject (ObjectReference)

The object that this event is about.

action (string)

What action was taken/failed regarding to the Regarding object.

count (integer)

The number of times this event has occurred.

eventTime (MicroTime)

Time when this Event was first observed.

MicroTime is version of Time with microsecond level precision.

firstTimestamp (Time)

The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)

lastTimestamp (Time)

The time at which the most recent occurrence of this event was recorded.

message (string)

A human-readable description of the status of this operation.

reason (string)

This should be a short, machine understandable string that gives the reason for the transition into the object's current status.

related (ObjectReference)

Optional secondary object for more complex actions.

reportingComponent (string)

Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet.

reportingInstance (string)

ID of the controller instance, e.g. kubelet-xyzf.

series (EventSeries)

Data about the Event series this event represents or nil if it's a singleton Event.

source (EventSource)

The component reporting this event. Should be a short machine understandable string.

EventSource contains information for an event.

source.component (string)

Component from which the event is generated.

source.host (string)

Node name on which the event is generated.

type (string)

Type of this event (Normal, Warning), new types could be added in the future

EventSeries

EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.

count (integer)

Number of occurrences in this series up to the last heartbeat time

lastObservedTime (MicroTime)

Time of the last occurrence observed

MicroTime is version of Time with microsecond level precision.

EventList

EventList is a list of events.

apiVersion: v1
kind: EventList
metadata (ListMeta)

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

items ([]Event)

List of events