forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevent-v1.json
120 lines (120 loc) · 5.02 KB
/
event-v1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"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.",
"properties": {
"action": {
"description": "What action was taken/failed regarding to the Regarding object.",
"type": [
"string",
"null"
]
},
"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",
"null"
],
"enum": [
"v1"
]
},
"count": {
"description": "The number of times this event has occurred.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"eventTime": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.31.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime",
"description": "Time when this Event was first observed."
},
"firstTimestamp": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.31.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
"description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)"
},
"involvedObject": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.31.2/_definitions.json#/definitions/io.k8s.api.core.v1.ObjectReference",
"description": "The object that this event is about."
},
"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",
"null"
],
"enum": [
"Event"
]
},
"lastTimestamp": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.31.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
"description": "The time at which the most recent occurrence of this event was recorded."
},
"message": {
"description": "A human-readable description of the status of this operation.",
"type": [
"string",
"null"
]
},
"metadata": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.31.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"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",
"null"
]
},
"related": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.31.2/_definitions.json#/definitions/io.k8s.api.core.v1.ObjectReference",
"description": "Optional secondary object for more complex actions."
},
"reportingComponent": {
"description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.",
"type": [
"string",
"null"
]
},
"reportingInstance": {
"description": "ID of the controller instance, e.g. `kubelet-xyzf`.",
"type": [
"string",
"null"
]
},
"series": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.31.2/_definitions.json#/definitions/io.k8s.api.core.v1.EventSeries",
"description": "Data about the Event series this event represents or nil if it's a singleton Event."
},
"source": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.31.2/_definitions.json#/definitions/io.k8s.api.core.v1.EventSource",
"description": "The component reporting this event. Should be a short machine understandable string."
},
"type": {
"description": "Type of this event (Normal, Warning), new types could be added in the future",
"type": [
"string",
"null"
]
}
},
"required": [
"metadata",
"involvedObject"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "",
"kind": "Event",
"version": "v1"
}
],
"$schema": "http://json-schema.org/schema#"
}