Argo CD · Schema

v1Event

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.

Continuous DeliveryContainersDeploymentGitOpsKubernetesCNCFOpen Source

Properties

Name Type Description
action string
count integer
eventTime object
firstTimestamp object
involvedObject object
lastTimestamp object
message string
metadata object
reason string
related object
reportingComponent string
reportingInstance string
series object
source object
type string
View JSON Schema on GitHub

JSON Schema

argo-cd-v1-event-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-cd/refs/heads/main/json-schema/argo-cd-v1-event-schema.json",
  "title": "v1Event",
  "description": "Event is a report of an event somewhere in the cluster.  Events\nhave a limited retention time and triggers and messages may evolve\nwith time.  Event consumers should not rely on the timing of an event\nwith a given Reason reflecting a consistent underlying trigger, or the\ncontinued existence of events with that Reason.  Events should be\ntreated as informative, best-effort, supplemental data.",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "title": "What action was taken/failed regarding to the Regarding object.\n+optional"
    },
    "count": {
      "type": "integer",
      "format": "int32",
      "title": "The number of times this event has occurred.\n+optional"
    },
    "eventTime": {
      "$ref": "#/definitions/v1MicroTime"
    },
    "firstTimestamp": {
      "$ref": "#/definitions/v1Time"
    },
    "involvedObject": {
      "$ref": "#/definitions/v1ObjectReference"
    },
    "lastTimestamp": {
      "$ref": "#/definitions/v1Time"
    },
    "message": {
      "type": "string",
      "title": "A human-readable description of the status of this operation.\nTODO: decide on maximum length.\n+optional"
    },
    "metadata": {
      "$ref": "#/definitions/v1ObjectMeta"
    },
    "reason": {
      "type": "string",
      "title": "This should be a short, machine understandable string that gives the reason\nfor the transition into the object's current status.\nTODO: provide exact specification for format.\n+optional"
    },
    "related": {
      "$ref": "#/definitions/v1ObjectReference"
    },
    "reportingComponent": {
      "type": "string",
      "title": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.\n+optional"
    },
    "reportingInstance": {
      "type": "string",
      "title": "ID of the controller instance, e.g. `kubelet-xyzf`.\n+optional"
    },
    "series": {
      "$ref": "#/definitions/v1EventSeries"
    },
    "source": {
      "$ref": "#/definitions/v1EventSource"
    },
    "type": {
      "type": "string",
      "title": "Type of this event (Normal, Warning), new types could be added in the future\n+optional"
    }
  }
}