Argo Workflows · JSON Structure

Argo Workflows Io K8S Api Core V1 Event Structure

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.

Type: object Properties: 17 Required: 2
CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

io.k8s.api.core.v1.Event is a JSON Structure definition published by Argo Workflows, describing 17 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

action apiVersion count eventTime firstTimestamp involvedObject kind lastTimestamp message metadata reason related reportingComponent reportingInstance series source type

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-structure/argo-workflows-io-k8s-api-core-v1-event-structure.json",
  "name": "io.k8s.api.core.v1.Event",
  "description": "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.",
  "type": "object",
  "properties": {
    "action": {
      "description": "What action was taken/failed regarding to the Regarding object.",
      "type": "string"
    },
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": "string"
    },
    "count": {
      "description": "The number of times this event has occurred.",
      "type": "int32"
    },
    "eventTime": {
      "description": "Time when this Event was first observed.",
      "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime"
    },
    "firstTimestamp": {
      "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)",
      "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
    },
    "involvedObject": {
      "description": "The object that this event is about.",
      "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "lastTimestamp": {
      "description": "The time at which the most recent occurrence of this event was recorded.",
      "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
    },
    "message": {
      "description": "A human-readable description of the status of this operation.",
      "type": "string"
    },
    "metadata": {
      "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
      "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"
    },
    "reason": {
      "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.",
      "type": "string"
    },
    "related": {
      "description": "Optional secondary object for more complex actions.",
      "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference"
    },
    "reportingComponent": {
      "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.",
      "type": "string"
    },
    "reportingInstance": {
      "description": "ID of the controller instance, e.g. `kubelet-xyzf`.",
      "type": "string"
    },
    "series": {
      "description": "Data about the Event series this event represents or nil if it's a singleton Event.",
      "$ref": "#/definitions/io.k8s.api.core.v1.EventSeries"
    },
    "source": {
      "description": "The component reporting this event. Should be a short machine understandable string.",
      "$ref": "#/definitions/io.k8s.api.core.v1.EventSource"
    },
    "type": {
      "description": "Type of this event (Normal, Warning), new types could be added in the future",
      "type": "string"
    }
  },
  "required": [
    "metadata",
    "involvedObject"
  ]
}