kubernetes_schemas 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +8 -3
  3. data/lib/kubernetes_schemas/version.rb +1 -1
  4. data/lib/kubernetes_schemas.rb +2 -1
  5. data/schemas/1.22-strict/apigroup.json +123 -0
  6. data/schemas/1.22-strict/apigrouplist.json +161 -0
  7. data/schemas/1.22-strict/apiresourcelist.json +140 -0
  8. data/schemas/1.22-strict/apiservice.json +439 -0
  9. data/schemas/1.22-strict/apiservicelist.json +522 -0
  10. data/schemas/1.22-strict/apiversions.json +78 -0
  11. data/schemas/1.22-strict/binding.json +349 -0
  12. data/schemas/1.22-strict/certificatesigningrequest.json +464 -0
  13. data/schemas/1.22-strict/certificatesigningrequestlist.json +544 -0
  14. data/schemas/1.22-strict/clusterrole.json +453 -0
  15. data/schemas/1.22-strict/clusterrolebinding.json +361 -0
  16. data/schemas/1.22-strict/clusterrolebindinglist.json +441 -0
  17. data/schemas/1.22-strict/clusterrolelist.json +536 -0
  18. data/schemas/1.22-strict/componentstatus.json +331 -0
  19. data/schemas/1.22-strict/componentstatuslist.json +414 -0
  20. data/schemas/1.22-strict/configmap.json +320 -0
  21. data/schemas/1.22-strict/configmaplist.json +403 -0
  22. data/schemas/1.22-strict/controllerrevision.json +304 -0
  23. data/schemas/1.22-strict/controllerrevisionlist.json +384 -0
  24. data/schemas/1.22-strict/cronjob.json +9985 -0
  25. data/schemas/1.22-strict/cronjoblist.json +10068 -0
  26. data/schemas/1.22-strict/csidriver.json +381 -0
  27. data/schemas/1.22-strict/csidriverlist.json +461 -0
  28. data/schemas/1.22-strict/csinode.json +361 -0
  29. data/schemas/1.22-strict/csinodelist.json +441 -0
  30. data/schemas/1.22-strict/csistoragecapacity.json +396 -0
  31. data/schemas/1.22-strict/csistoragecapacitylist.json +480 -0
  32. data/schemas/1.22-strict/daemonset.json +9715 -0
  33. data/schemas/1.22-strict/daemonsetlist.json +9798 -0
  34. data/schemas/1.22-strict/deleteoptions.json +336 -0
  35. data/schemas/1.22-strict/deployment.json +9736 -0
  36. data/schemas/1.22-strict/deploymentlist.json +9819 -0
  37. data/schemas/1.22-strict/endpoints.json +548 -0
  38. data/schemas/1.22-strict/endpointslice.json +529 -0
  39. data/schemas/1.22-strict/endpointslicelist.json +606 -0
  40. data/schemas/1.22-strict/endpointslist.json +631 -0
  41. data/schemas/1.22-strict/event.json +531 -0
  42. data/schemas/1.22-strict/eventlist.json +611 -0
  43. data/schemas/1.22-strict/eviction.json +624 -0
  44. data/schemas/1.22-strict/flowschema.json +635 -0
  45. data/schemas/1.22-strict/flowschemalist.json +718 -0
  46. data/schemas/1.22-strict/horizontalpodautoscaler.json +1825 -0
  47. data/schemas/1.22-strict/horizontalpodautoscalerlist.json +1908 -0
  48. data/schemas/1.22-strict/ingress.json +659 -0
  49. data/schemas/1.22-strict/ingressclass.json +346 -0
  50. data/schemas/1.22-strict/ingressclasslist.json +429 -0
  51. data/schemas/1.22-strict/ingresslist.json +742 -0
  52. data/schemas/1.22-strict/job.json +9731 -0
  53. data/schemas/1.22-strict/joblist.json +9814 -0
  54. data/schemas/1.22-strict/lease.json +335 -0
  55. data/schemas/1.22-strict/leaselist.json +418 -0
  56. data/schemas/1.22-strict/limitrange.json +435 -0
  57. data/schemas/1.22-strict/limitrangelist.json +518 -0
  58. data/schemas/1.22-strict/localsubjectaccessreview.json +466 -0
  59. data/schemas/1.22-strict/mutatingwebhookconfiguration.json +629 -0
  60. data/schemas/1.22-strict/mutatingwebhookconfigurationlist.json +712 -0
  61. data/schemas/1.22-strict/namespace.json +377 -0
  62. data/schemas/1.22-strict/namespacelist.json +460 -0
  63. data/schemas/1.22-strict/networkpolicy.json +873 -0
  64. data/schemas/1.22-strict/networkpolicylist.json +956 -0
  65. data/schemas/1.22-strict/node.json +928 -0
  66. data/schemas/1.22-strict/nodelist.json +1011 -0
  67. data/schemas/1.22-strict/persistentvolume.json +1820 -0
  68. data/schemas/1.22-strict/persistentvolumeclaim.json +626 -0
  69. data/schemas/1.22-strict/persistentvolumeclaimlist.json +709 -0
  70. data/schemas/1.22-strict/persistentvolumelist.json +1903 -0
  71. data/schemas/1.22-strict/pod.json +10192 -0
  72. data/schemas/1.22-strict/poddisruptionbudget.json +514 -0
  73. data/schemas/1.22-strict/poddisruptionbudgetlist.json +597 -0
  74. data/schemas/1.22-strict/podlist.json +10275 -0
  75. data/schemas/1.22-strict/podsecuritypolicy.json +817 -0
  76. data/schemas/1.22-strict/podsecuritypolicylist.json +900 -0
  77. data/schemas/1.22-strict/podtemplate.json +9435 -0
  78. data/schemas/1.22-strict/podtemplatelist.json +9518 -0
  79. data/schemas/1.22-strict/priorityclass.json +318 -0
  80. data/schemas/1.22-strict/priorityclasslist.json +398 -0
  81. data/schemas/1.22-strict/prioritylevelconfiguration.json +455 -0
  82. data/schemas/1.22-strict/prioritylevelconfigurationlist.json +538 -0
  83. data/schemas/1.22-strict/replicaset.json +9632 -0
  84. data/schemas/1.22-strict/replicasetlist.json +9715 -0
  85. data/schemas/1.22-strict/replicationcontroller.json +9578 -0
  86. data/schemas/1.22-strict/replicationcontrollerlist.json +9661 -0
  87. data/schemas/1.22-strict/resourcequota.json +441 -0
  88. data/schemas/1.22-strict/resourcequotalist.json +524 -0
  89. data/schemas/1.22-strict/role.json +368 -0
  90. data/schemas/1.22-strict/rolebinding.json +361 -0
  91. data/schemas/1.22-strict/rolebindinglist.json +441 -0
  92. data/schemas/1.22-strict/rolelist.json +451 -0
  93. data/schemas/1.22-strict/runtimeclass.json +407 -0
  94. data/schemas/1.22-strict/runtimeclasslist.json +487 -0
  95. data/schemas/1.22-strict/scale.json +329 -0
  96. data/schemas/1.22-strict/secret.json +327 -0
  97. data/schemas/1.22-strict/secretlist.json +410 -0
  98. data/schemas/1.22-strict/selfsubjectaccessreview.json +420 -0
  99. data/schemas/1.22-strict/selfsubjectrulesreview.json +438 -0
  100. data/schemas/1.22-strict/service.json +701 -0
  101. data/schemas/1.22-strict/serviceaccount.json +387 -0
  102. data/schemas/1.22-strict/serviceaccountlist.json +470 -0
  103. data/schemas/1.22-strict/servicelist.json +784 -0
  104. data/schemas/1.22-strict/statefulset.json +10350 -0
  105. data/schemas/1.22-strict/statefulsetlist.json +10433 -0
  106. data/schemas/1.22-strict/status.json +184 -0
  107. data/schemas/1.22-strict/storageclass.json +397 -0
  108. data/schemas/1.22-strict/storageclasslist.json +477 -0
  109. data/schemas/1.22-strict/subjectaccessreview.json +466 -0
  110. data/schemas/1.22-strict/tokenreview.json +412 -0
  111. data/schemas/1.22-strict/validatingwebhookconfiguration.json +622 -0
  112. data/schemas/1.22-strict/validatingwebhookconfigurationlist.json +705 -0
  113. data/schemas/1.22-strict/volumeattachment.json +1909 -0
  114. data/schemas/1.22-strict/volumeattachmentlist.json +1989 -0
  115. data/schemas/1.22-strict/watchevent.json +277 -0
  116. metadata +112 -1
@@ -0,0 +1,1011 @@
1
+ {
2
+ "description": "NodeList is the whole list of all Nodes which have been registered with master.",
3
+ "type": "object",
4
+ "required": [
5
+ "items"
6
+ ],
7
+ "properties": {
8
+ "apiVersion": {
9
+ "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",
10
+ "type": [
11
+ "string",
12
+ "null"
13
+ ]
14
+ },
15
+ "items": {
16
+ "description": "List of nodes",
17
+ "type": [
18
+ "array",
19
+ "null"
20
+ ],
21
+ "items": {
22
+ "description": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).",
23
+ "type": [
24
+ "object",
25
+ "null"
26
+ ],
27
+ "properties": {
28
+ "apiVersion": {
29
+ "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",
30
+ "type": [
31
+ "string",
32
+ "null"
33
+ ]
34
+ },
35
+ "kind": {
36
+ "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",
37
+ "type": [
38
+ "string",
39
+ "null"
40
+ ],
41
+ "enum": [
42
+ "Node"
43
+ ]
44
+ },
45
+ "metadata": {
46
+ "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
47
+ "type": [
48
+ "object",
49
+ "null"
50
+ ],
51
+ "properties": {
52
+ "annotations": {
53
+ "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations",
54
+ "type": [
55
+ "object",
56
+ "null"
57
+ ],
58
+ "additionalProperties": {
59
+ "type": [
60
+ "string",
61
+ "null"
62
+ ]
63
+ }
64
+ },
65
+ "clusterName": {
66
+ "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
67
+ "type": [
68
+ "string",
69
+ "null"
70
+ ]
71
+ },
72
+ "creationTimestamp": {
73
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
74
+ "type": [
75
+ "string",
76
+ "null"
77
+ ],
78
+ "format": "date-time"
79
+ },
80
+ "deletionGracePeriodSeconds": {
81
+ "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
82
+ "type": [
83
+ "integer",
84
+ "null"
85
+ ],
86
+ "format": "int64"
87
+ },
88
+ "deletionTimestamp": {
89
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
90
+ "type": [
91
+ "string",
92
+ "null"
93
+ ],
94
+ "format": "date-time"
95
+ },
96
+ "finalizers": {
97
+ "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
98
+ "type": [
99
+ "array",
100
+ "null"
101
+ ],
102
+ "items": {
103
+ "type": [
104
+ "string",
105
+ "null"
106
+ ]
107
+ },
108
+ "x-kubernetes-patch-strategy": "merge"
109
+ },
110
+ "generateName": {
111
+ "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
112
+ "type": [
113
+ "string",
114
+ "null"
115
+ ]
116
+ },
117
+ "generation": {
118
+ "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
119
+ "type": [
120
+ "integer",
121
+ "null"
122
+ ],
123
+ "format": "int64"
124
+ },
125
+ "labels": {
126
+ "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels",
127
+ "type": [
128
+ "object",
129
+ "null"
130
+ ],
131
+ "additionalProperties": {
132
+ "type": [
133
+ "string",
134
+ "null"
135
+ ]
136
+ }
137
+ },
138
+ "managedFields": {
139
+ "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
140
+ "type": [
141
+ "array",
142
+ "null"
143
+ ],
144
+ "items": {
145
+ "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
146
+ "type": [
147
+ "object",
148
+ "null"
149
+ ],
150
+ "properties": {
151
+ "apiVersion": {
152
+ "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
153
+ "type": [
154
+ "string",
155
+ "null"
156
+ ]
157
+ },
158
+ "fieldsType": {
159
+ "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
160
+ "type": [
161
+ "string",
162
+ "null"
163
+ ]
164
+ },
165
+ "fieldsV1": {
166
+ "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
167
+ "type": [
168
+ "object",
169
+ "null"
170
+ ]
171
+ },
172
+ "manager": {
173
+ "description": "Manager is an identifier of the workflow managing these fields.",
174
+ "type": [
175
+ "string",
176
+ "null"
177
+ ]
178
+ },
179
+ "operation": {
180
+ "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
181
+ "type": [
182
+ "string",
183
+ "null"
184
+ ]
185
+ },
186
+ "subresource": {
187
+ "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.",
188
+ "type": [
189
+ "string",
190
+ "null"
191
+ ]
192
+ },
193
+ "time": {
194
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
195
+ "type": [
196
+ "string",
197
+ "null"
198
+ ],
199
+ "format": "date-time"
200
+ }
201
+ },
202
+ "additionalProperties": false
203
+ }
204
+ },
205
+ "name": {
206
+ "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
207
+ "type": [
208
+ "string",
209
+ "null"
210
+ ]
211
+ },
212
+ "namespace": {
213
+ "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces",
214
+ "type": [
215
+ "string",
216
+ "null"
217
+ ]
218
+ },
219
+ "ownerReferences": {
220
+ "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
221
+ "type": [
222
+ "array",
223
+ "null"
224
+ ],
225
+ "items": {
226
+ "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
227
+ "type": [
228
+ "object",
229
+ "null"
230
+ ],
231
+ "required": [
232
+ "apiVersion",
233
+ "kind",
234
+ "name",
235
+ "uid"
236
+ ],
237
+ "properties": {
238
+ "apiVersion": {
239
+ "description": "API version of the referent.",
240
+ "type": "string"
241
+ },
242
+ "blockOwnerDeletion": {
243
+ "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
244
+ "type": [
245
+ "boolean",
246
+ "null"
247
+ ]
248
+ },
249
+ "controller": {
250
+ "description": "If true, this reference points to the managing controller.",
251
+ "type": [
252
+ "boolean",
253
+ "null"
254
+ ]
255
+ },
256
+ "kind": {
257
+ "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
258
+ "type": "string"
259
+ },
260
+ "name": {
261
+ "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
262
+ "type": "string"
263
+ },
264
+ "uid": {
265
+ "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
266
+ "type": "string"
267
+ }
268
+ },
269
+ "x-kubernetes-map-type": "atomic",
270
+ "additionalProperties": false
271
+ },
272
+ "x-kubernetes-patch-merge-key": "uid",
273
+ "x-kubernetes-patch-strategy": "merge"
274
+ },
275
+ "resourceVersion": {
276
+ "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
277
+ "type": [
278
+ "string",
279
+ "null"
280
+ ]
281
+ },
282
+ "selfLink": {
283
+ "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
284
+ "type": [
285
+ "string",
286
+ "null"
287
+ ]
288
+ },
289
+ "uid": {
290
+ "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
291
+ "type": [
292
+ "string",
293
+ "null"
294
+ ]
295
+ }
296
+ },
297
+ "additionalProperties": false
298
+ },
299
+ "spec": {
300
+ "description": "NodeSpec describes the attributes that a node is created with.",
301
+ "type": [
302
+ "object",
303
+ "null"
304
+ ],
305
+ "properties": {
306
+ "configSource": {
307
+ "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22",
308
+ "type": [
309
+ "object",
310
+ "null"
311
+ ],
312
+ "properties": {
313
+ "configMap": {
314
+ "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration",
315
+ "type": [
316
+ "object",
317
+ "null"
318
+ ],
319
+ "required": [
320
+ "namespace",
321
+ "name",
322
+ "kubeletConfigKey"
323
+ ],
324
+ "properties": {
325
+ "kubeletConfigKey": {
326
+ "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.",
327
+ "type": "string"
328
+ },
329
+ "name": {
330
+ "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.",
331
+ "type": "string"
332
+ },
333
+ "namespace": {
334
+ "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.",
335
+ "type": "string"
336
+ },
337
+ "resourceVersion": {
338
+ "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
339
+ "type": [
340
+ "string",
341
+ "null"
342
+ ]
343
+ },
344
+ "uid": {
345
+ "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
346
+ "type": [
347
+ "string",
348
+ "null"
349
+ ]
350
+ }
351
+ },
352
+ "additionalProperties": false
353
+ }
354
+ },
355
+ "additionalProperties": false
356
+ },
357
+ "externalID": {
358
+ "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966",
359
+ "type": [
360
+ "string",
361
+ "null"
362
+ ]
363
+ },
364
+ "podCIDR": {
365
+ "description": "PodCIDR represents the pod IP range assigned to the node.",
366
+ "type": [
367
+ "string",
368
+ "null"
369
+ ]
370
+ },
371
+ "podCIDRs": {
372
+ "description": "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.",
373
+ "type": [
374
+ "array",
375
+ "null"
376
+ ],
377
+ "items": {
378
+ "type": [
379
+ "string",
380
+ "null"
381
+ ]
382
+ },
383
+ "x-kubernetes-patch-strategy": "merge"
384
+ },
385
+ "providerID": {
386
+ "description": "ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>",
387
+ "type": [
388
+ "string",
389
+ "null"
390
+ ]
391
+ },
392
+ "taints": {
393
+ "description": "If specified, the node's taints.",
394
+ "type": [
395
+ "array",
396
+ "null"
397
+ ],
398
+ "items": {
399
+ "description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.",
400
+ "type": [
401
+ "object",
402
+ "null"
403
+ ],
404
+ "required": [
405
+ "key",
406
+ "effect"
407
+ ],
408
+ "properties": {
409
+ "effect": {
410
+ "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.",
411
+ "type": "string"
412
+ },
413
+ "key": {
414
+ "description": "Required. The taint key to be applied to a node.",
415
+ "type": "string"
416
+ },
417
+ "timeAdded": {
418
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
419
+ "type": [
420
+ "string",
421
+ "null"
422
+ ],
423
+ "format": "date-time"
424
+ },
425
+ "value": {
426
+ "description": "The taint value corresponding to the taint key.",
427
+ "type": [
428
+ "string",
429
+ "null"
430
+ ]
431
+ }
432
+ },
433
+ "additionalProperties": false
434
+ }
435
+ },
436
+ "unschedulable": {
437
+ "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration",
438
+ "type": [
439
+ "boolean",
440
+ "null"
441
+ ]
442
+ }
443
+ },
444
+ "additionalProperties": false
445
+ },
446
+ "status": {
447
+ "description": "NodeStatus is information about the current status of a node.",
448
+ "type": [
449
+ "object",
450
+ "null"
451
+ ],
452
+ "properties": {
453
+ "addresses": {
454
+ "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example.",
455
+ "type": [
456
+ "array",
457
+ "null"
458
+ ],
459
+ "items": {
460
+ "description": "NodeAddress contains information for the node's address.",
461
+ "type": [
462
+ "object",
463
+ "null"
464
+ ],
465
+ "required": [
466
+ "type",
467
+ "address"
468
+ ],
469
+ "properties": {
470
+ "address": {
471
+ "description": "The node address.",
472
+ "type": "string"
473
+ },
474
+ "type": {
475
+ "description": "Node address type, one of Hostname, ExternalIP or InternalIP.",
476
+ "type": "string"
477
+ }
478
+ },
479
+ "additionalProperties": false
480
+ },
481
+ "x-kubernetes-patch-merge-key": "type",
482
+ "x-kubernetes-patch-strategy": "merge"
483
+ },
484
+ "allocatable": {
485
+ "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.",
486
+ "type": [
487
+ "object",
488
+ "null"
489
+ ],
490
+ "additionalProperties": {
491
+ "oneOf": [
492
+ {
493
+ "type": [
494
+ "string",
495
+ "null"
496
+ ]
497
+ },
498
+ {
499
+ "type": [
500
+ "number",
501
+ "null"
502
+ ]
503
+ }
504
+ ]
505
+ }
506
+ },
507
+ "capacity": {
508
+ "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
509
+ "type": [
510
+ "object",
511
+ "null"
512
+ ],
513
+ "additionalProperties": {
514
+ "oneOf": [
515
+ {
516
+ "type": [
517
+ "string",
518
+ "null"
519
+ ]
520
+ },
521
+ {
522
+ "type": [
523
+ "number",
524
+ "null"
525
+ ]
526
+ }
527
+ ]
528
+ }
529
+ },
530
+ "conditions": {
531
+ "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition",
532
+ "type": [
533
+ "array",
534
+ "null"
535
+ ],
536
+ "items": {
537
+ "description": "NodeCondition contains condition information for a node.",
538
+ "type": [
539
+ "object",
540
+ "null"
541
+ ],
542
+ "required": [
543
+ "type",
544
+ "status"
545
+ ],
546
+ "properties": {
547
+ "lastHeartbeatTime": {
548
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
549
+ "type": [
550
+ "string",
551
+ "null"
552
+ ],
553
+ "format": "date-time"
554
+ },
555
+ "lastTransitionTime": {
556
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
557
+ "type": [
558
+ "string",
559
+ "null"
560
+ ],
561
+ "format": "date-time"
562
+ },
563
+ "message": {
564
+ "description": "Human readable message indicating details about last transition.",
565
+ "type": [
566
+ "string",
567
+ "null"
568
+ ]
569
+ },
570
+ "reason": {
571
+ "description": "(brief) reason for the condition's last transition.",
572
+ "type": [
573
+ "string",
574
+ "null"
575
+ ]
576
+ },
577
+ "status": {
578
+ "description": "Status of the condition, one of True, False, Unknown.",
579
+ "type": "string"
580
+ },
581
+ "type": {
582
+ "description": "Type of node condition.",
583
+ "type": "string"
584
+ }
585
+ },
586
+ "additionalProperties": false
587
+ },
588
+ "x-kubernetes-patch-merge-key": "type",
589
+ "x-kubernetes-patch-strategy": "merge"
590
+ },
591
+ "config": {
592
+ "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.",
593
+ "type": [
594
+ "object",
595
+ "null"
596
+ ],
597
+ "properties": {
598
+ "active": {
599
+ "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22",
600
+ "type": [
601
+ "object",
602
+ "null"
603
+ ],
604
+ "properties": {
605
+ "configMap": {
606
+ "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration",
607
+ "type": [
608
+ "object",
609
+ "null"
610
+ ],
611
+ "required": [
612
+ "namespace",
613
+ "name",
614
+ "kubeletConfigKey"
615
+ ],
616
+ "properties": {
617
+ "kubeletConfigKey": {
618
+ "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.",
619
+ "type": "string"
620
+ },
621
+ "name": {
622
+ "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.",
623
+ "type": "string"
624
+ },
625
+ "namespace": {
626
+ "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.",
627
+ "type": "string"
628
+ },
629
+ "resourceVersion": {
630
+ "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
631
+ "type": [
632
+ "string",
633
+ "null"
634
+ ]
635
+ },
636
+ "uid": {
637
+ "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
638
+ "type": [
639
+ "string",
640
+ "null"
641
+ ]
642
+ }
643
+ },
644
+ "additionalProperties": false
645
+ }
646
+ },
647
+ "additionalProperties": false
648
+ },
649
+ "assigned": {
650
+ "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22",
651
+ "type": [
652
+ "object",
653
+ "null"
654
+ ],
655
+ "properties": {
656
+ "configMap": {
657
+ "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration",
658
+ "type": [
659
+ "object",
660
+ "null"
661
+ ],
662
+ "required": [
663
+ "namespace",
664
+ "name",
665
+ "kubeletConfigKey"
666
+ ],
667
+ "properties": {
668
+ "kubeletConfigKey": {
669
+ "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.",
670
+ "type": "string"
671
+ },
672
+ "name": {
673
+ "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.",
674
+ "type": "string"
675
+ },
676
+ "namespace": {
677
+ "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.",
678
+ "type": "string"
679
+ },
680
+ "resourceVersion": {
681
+ "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
682
+ "type": [
683
+ "string",
684
+ "null"
685
+ ]
686
+ },
687
+ "uid": {
688
+ "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
689
+ "type": [
690
+ "string",
691
+ "null"
692
+ ]
693
+ }
694
+ },
695
+ "additionalProperties": false
696
+ }
697
+ },
698
+ "additionalProperties": false
699
+ },
700
+ "error": {
701
+ "description": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.",
702
+ "type": [
703
+ "string",
704
+ "null"
705
+ ]
706
+ },
707
+ "lastKnownGood": {
708
+ "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22",
709
+ "type": [
710
+ "object",
711
+ "null"
712
+ ],
713
+ "properties": {
714
+ "configMap": {
715
+ "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration",
716
+ "type": [
717
+ "object",
718
+ "null"
719
+ ],
720
+ "required": [
721
+ "namespace",
722
+ "name",
723
+ "kubeletConfigKey"
724
+ ],
725
+ "properties": {
726
+ "kubeletConfigKey": {
727
+ "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.",
728
+ "type": "string"
729
+ },
730
+ "name": {
731
+ "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.",
732
+ "type": "string"
733
+ },
734
+ "namespace": {
735
+ "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.",
736
+ "type": "string"
737
+ },
738
+ "resourceVersion": {
739
+ "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
740
+ "type": [
741
+ "string",
742
+ "null"
743
+ ]
744
+ },
745
+ "uid": {
746
+ "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
747
+ "type": [
748
+ "string",
749
+ "null"
750
+ ]
751
+ }
752
+ },
753
+ "additionalProperties": false
754
+ }
755
+ },
756
+ "additionalProperties": false
757
+ }
758
+ },
759
+ "additionalProperties": false
760
+ },
761
+ "daemonEndpoints": {
762
+ "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.",
763
+ "type": [
764
+ "object",
765
+ "null"
766
+ ],
767
+ "properties": {
768
+ "kubeletEndpoint": {
769
+ "description": "DaemonEndpoint contains information about a single Daemon endpoint.",
770
+ "type": [
771
+ "object",
772
+ "null"
773
+ ],
774
+ "required": [
775
+ "Port"
776
+ ],
777
+ "properties": {
778
+ "Port": {
779
+ "description": "Port number of the given endpoint.",
780
+ "type": "integer",
781
+ "format": "int32"
782
+ }
783
+ },
784
+ "additionalProperties": false
785
+ }
786
+ },
787
+ "additionalProperties": false
788
+ },
789
+ "images": {
790
+ "description": "List of container images on this node",
791
+ "type": [
792
+ "array",
793
+ "null"
794
+ ],
795
+ "items": {
796
+ "description": "Describe a container image",
797
+ "type": [
798
+ "object",
799
+ "null"
800
+ ],
801
+ "properties": {
802
+ "names": {
803
+ "description": "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]",
804
+ "type": [
805
+ "array",
806
+ "null"
807
+ ],
808
+ "items": {
809
+ "type": [
810
+ "string",
811
+ "null"
812
+ ]
813
+ }
814
+ },
815
+ "sizeBytes": {
816
+ "description": "The size of the image in bytes.",
817
+ "type": [
818
+ "integer",
819
+ "null"
820
+ ],
821
+ "format": "int64"
822
+ }
823
+ },
824
+ "additionalProperties": false
825
+ }
826
+ },
827
+ "nodeInfo": {
828
+ "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.",
829
+ "type": [
830
+ "object",
831
+ "null"
832
+ ],
833
+ "required": [
834
+ "machineID",
835
+ "systemUUID",
836
+ "bootID",
837
+ "kernelVersion",
838
+ "osImage",
839
+ "containerRuntimeVersion",
840
+ "kubeletVersion",
841
+ "kubeProxyVersion",
842
+ "operatingSystem",
843
+ "architecture"
844
+ ],
845
+ "properties": {
846
+ "architecture": {
847
+ "description": "The Architecture reported by the node",
848
+ "type": "string"
849
+ },
850
+ "bootID": {
851
+ "description": "Boot ID reported by the node.",
852
+ "type": "string"
853
+ },
854
+ "containerRuntimeVersion": {
855
+ "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).",
856
+ "type": "string"
857
+ },
858
+ "kernelVersion": {
859
+ "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).",
860
+ "type": "string"
861
+ },
862
+ "kubeProxyVersion": {
863
+ "description": "KubeProxy Version reported by the node.",
864
+ "type": "string"
865
+ },
866
+ "kubeletVersion": {
867
+ "description": "Kubelet Version reported by the node.",
868
+ "type": "string"
869
+ },
870
+ "machineID": {
871
+ "description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html",
872
+ "type": "string"
873
+ },
874
+ "operatingSystem": {
875
+ "description": "The Operating System reported by the node",
876
+ "type": "string"
877
+ },
878
+ "osImage": {
879
+ "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).",
880
+ "type": "string"
881
+ },
882
+ "systemUUID": {
883
+ "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid",
884
+ "type": "string"
885
+ }
886
+ },
887
+ "additionalProperties": false
888
+ },
889
+ "phase": {
890
+ "description": "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.",
891
+ "type": [
892
+ "string",
893
+ "null"
894
+ ]
895
+ },
896
+ "volumesAttached": {
897
+ "description": "List of volumes that are attached to the node.",
898
+ "type": [
899
+ "array",
900
+ "null"
901
+ ],
902
+ "items": {
903
+ "description": "AttachedVolume describes a volume attached to a node",
904
+ "type": [
905
+ "object",
906
+ "null"
907
+ ],
908
+ "required": [
909
+ "name",
910
+ "devicePath"
911
+ ],
912
+ "properties": {
913
+ "devicePath": {
914
+ "description": "DevicePath represents the device path where the volume should be available",
915
+ "type": "string"
916
+ },
917
+ "name": {
918
+ "description": "Name of the attached volume",
919
+ "type": "string"
920
+ }
921
+ },
922
+ "additionalProperties": false
923
+ }
924
+ },
925
+ "volumesInUse": {
926
+ "description": "List of attachable volumes in use (mounted) by the node.",
927
+ "type": [
928
+ "array",
929
+ "null"
930
+ ],
931
+ "items": {
932
+ "type": [
933
+ "string",
934
+ "null"
935
+ ]
936
+ }
937
+ }
938
+ },
939
+ "additionalProperties": false
940
+ }
941
+ },
942
+ "x-kubernetes-group-version-kind": [
943
+ {
944
+ "group": "",
945
+ "kind": "Node",
946
+ "version": "v1"
947
+ }
948
+ ],
949
+ "additionalProperties": false
950
+ }
951
+ },
952
+ "kind": {
953
+ "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",
954
+ "type": [
955
+ "string",
956
+ "null"
957
+ ],
958
+ "enum": [
959
+ "NodeList"
960
+ ]
961
+ },
962
+ "metadata": {
963
+ "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
964
+ "type": [
965
+ "object",
966
+ "null"
967
+ ],
968
+ "properties": {
969
+ "continue": {
970
+ "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.",
971
+ "type": [
972
+ "string",
973
+ "null"
974
+ ]
975
+ },
976
+ "remainingItemCount": {
977
+ "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.",
978
+ "type": [
979
+ "integer",
980
+ "null"
981
+ ],
982
+ "format": "int64"
983
+ },
984
+ "resourceVersion": {
985
+ "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
986
+ "type": [
987
+ "string",
988
+ "null"
989
+ ]
990
+ },
991
+ "selfLink": {
992
+ "description": "selfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
993
+ "type": [
994
+ "string",
995
+ "null"
996
+ ]
997
+ }
998
+ },
999
+ "additionalProperties": false
1000
+ }
1001
+ },
1002
+ "x-kubernetes-group-version-kind": [
1003
+ {
1004
+ "group": "",
1005
+ "kind": "NodeList",
1006
+ "version": "v1"
1007
+ }
1008
+ ],
1009
+ "additionalProperties": false,
1010
+ "$schema": "http://json-schema.org/schema#"
1011
+ }