kubernetes_schemas 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/Gemfile +6 -0
  4. data/README.md +35 -0
  5. data/Rakefile +28 -0
  6. data/bin/console +14 -0
  7. data/bin/setup +8 -0
  8. data/kubernetes_schemas.gemspec +30 -0
  9. data/lib/kubernetes_schemas/kubernetes_versions.rb +3 -0
  10. data/lib/kubernetes_schemas/version.rb +3 -0
  11. data/lib/kubernetes_schemas.rb +33 -0
  12. data/schemas/1.22/apigroup.json +119 -0
  13. data/schemas/1.22/apigrouplist.json +156 -0
  14. data/schemas/1.22/apiresourcelist.json +138 -0
  15. data/schemas/1.22/apiservice.json +431 -0
  16. data/schemas/1.22/apiservicelist.json +512 -0
  17. data/schemas/1.22/apiversions.json +76 -0
  18. data/schemas/1.22/binding.json +344 -0
  19. data/schemas/1.22/certificatesigningrequest.json +457 -0
  20. data/schemas/1.22/certificatesigningrequestlist.json +535 -0
  21. data/schemas/1.22/clusterrole.json +445 -0
  22. data/schemas/1.22/clusterrolebinding.json +355 -0
  23. data/schemas/1.22/clusterrolebindinglist.json +433 -0
  24. data/schemas/1.22/clusterrolelist.json +526 -0
  25. data/schemas/1.22/componentstatus.json +326 -0
  26. data/schemas/1.22/componentstatuslist.json +407 -0
  27. data/schemas/1.22/configmap.json +316 -0
  28. data/schemas/1.22/configmaplist.json +397 -0
  29. data/schemas/1.22/controllerrevision.json +300 -0
  30. data/schemas/1.22/controllerrevisionlist.json +378 -0
  31. data/schemas/1.22/cronjob.json +9720 -0
  32. data/schemas/1.22/cronjoblist.json +9801 -0
  33. data/schemas/1.22/csidriver.json +375 -0
  34. data/schemas/1.22/csidriverlist.json +453 -0
  35. data/schemas/1.22/csinode.json +354 -0
  36. data/schemas/1.22/csinodelist.json +432 -0
  37. data/schemas/1.22/csistoragecapacity.json +390 -0
  38. data/schemas/1.22/csistoragecapacitylist.json +472 -0
  39. data/schemas/1.22/daemonset.json +9453 -0
  40. data/schemas/1.22/daemonsetlist.json +9534 -0
  41. data/schemas/1.22/deleteoptions.json +334 -0
  42. data/schemas/1.22/deployment.json +9474 -0
  43. data/schemas/1.22/deploymentlist.json +9555 -0
  44. data/schemas/1.22/endpoints.json +538 -0
  45. data/schemas/1.22/endpointslice.json +519 -0
  46. data/schemas/1.22/endpointslicelist.json +594 -0
  47. data/schemas/1.22/endpointslist.json +619 -0
  48. data/schemas/1.22/event.json +523 -0
  49. data/schemas/1.22/eventlist.json +601 -0
  50. data/schemas/1.22/eviction.json +618 -0
  51. data/schemas/1.22/flowschema.json +619 -0
  52. data/schemas/1.22/flowschemalist.json +700 -0
  53. data/schemas/1.22/horizontalpodautoscaler.json +1770 -0
  54. data/schemas/1.22/horizontalpodautoscalerlist.json +1851 -0
  55. data/schemas/1.22/ingress.json +638 -0
  56. data/schemas/1.22/ingressclass.json +340 -0
  57. data/schemas/1.22/ingressclasslist.json +421 -0
  58. data/schemas/1.22/ingresslist.json +719 -0
  59. data/schemas/1.22/job.json +9470 -0
  60. data/schemas/1.22/joblist.json +9551 -0
  61. data/schemas/1.22/lease.json +330 -0
  62. data/schemas/1.22/leaselist.json +411 -0
  63. data/schemas/1.22/limitrange.json +429 -0
  64. data/schemas/1.22/limitrangelist.json +510 -0
  65. data/schemas/1.22/localsubjectaccessreview.json +458 -0
  66. data/schemas/1.22/mutatingwebhookconfiguration.json +617 -0
  67. data/schemas/1.22/mutatingwebhookconfigurationlist.json +698 -0
  68. data/schemas/1.22/namespace.json +370 -0
  69. data/schemas/1.22/namespacelist.json +451 -0
  70. data/schemas/1.22/networkpolicy.json +850 -0
  71. data/schemas/1.22/networkpolicylist.json +931 -0
  72. data/schemas/1.22/node.json +905 -0
  73. data/schemas/1.22/nodelist.json +986 -0
  74. data/schemas/1.22/persistentvolume.json +1775 -0
  75. data/schemas/1.22/persistentvolumeclaim.json +614 -0
  76. data/schemas/1.22/persistentvolumeclaimlist.json +695 -0
  77. data/schemas/1.22/persistentvolumelist.json +1856 -0
  78. data/schemas/1.22/pod.json +9911 -0
  79. data/schemas/1.22/poddisruptionbudget.json +505 -0
  80. data/schemas/1.22/poddisruptionbudgetlist.json +586 -0
  81. data/schemas/1.22/podlist.json +9992 -0
  82. data/schemas/1.22/podsecuritypolicy.json +797 -0
  83. data/schemas/1.22/podsecuritypolicylist.json +878 -0
  84. data/schemas/1.22/podtemplate.json +9180 -0
  85. data/schemas/1.22/podtemplatelist.json +9261 -0
  86. data/schemas/1.22/priorityclass.json +314 -0
  87. data/schemas/1.22/priorityclasslist.json +392 -0
  88. data/schemas/1.22/prioritylevelconfiguration.json +445 -0
  89. data/schemas/1.22/prioritylevelconfigurationlist.json +526 -0
  90. data/schemas/1.22/replicaset.json +9372 -0
  91. data/schemas/1.22/replicasetlist.json +9453 -0
  92. data/schemas/1.22/replicationcontroller.json +9320 -0
  93. data/schemas/1.22/replicationcontrollerlist.json +9401 -0
  94. data/schemas/1.22/resourcequota.json +433 -0
  95. data/schemas/1.22/resourcequotalist.json +514 -0
  96. data/schemas/1.22/role.json +363 -0
  97. data/schemas/1.22/rolebinding.json +355 -0
  98. data/schemas/1.22/rolebindinglist.json +433 -0
  99. data/schemas/1.22/rolelist.json +444 -0
  100. data/schemas/1.22/runtimeclass.json +400 -0
  101. data/schemas/1.22/runtimeclasslist.json +478 -0
  102. data/schemas/1.22/scale.json +323 -0
  103. data/schemas/1.22/secret.json +323 -0
  104. data/schemas/1.22/secretlist.json +404 -0
  105. data/schemas/1.22/selfsubjectaccessreview.json +412 -0
  106. data/schemas/1.22/selfsubjectrulesreview.json +430 -0
  107. data/schemas/1.22/service.json +688 -0
  108. data/schemas/1.22/serviceaccount.json +381 -0
  109. data/schemas/1.22/serviceaccountlist.json +462 -0
  110. data/schemas/1.22/servicelist.json +769 -0
  111. data/schemas/1.22/statefulset.json +10076 -0
  112. data/schemas/1.22/statefulsetlist.json +10157 -0
  113. data/schemas/1.22/status.json +180 -0
  114. data/schemas/1.22/storageclass.json +391 -0
  115. data/schemas/1.22/storageclasslist.json +469 -0
  116. data/schemas/1.22/subjectaccessreview.json +458 -0
  117. data/schemas/1.22/tokenreview.json +405 -0
  118. data/schemas/1.22/validatingwebhookconfiguration.json +610 -0
  119. data/schemas/1.22/validatingwebhookconfigurationlist.json +691 -0
  120. data/schemas/1.22/volumeattachment.json +1860 -0
  121. data/schemas/1.22/volumeattachmentlist.json +1938 -0
  122. data/schemas/1.22/watchevent.json +276 -0
  123. metadata +207 -0
@@ -0,0 +1,905 @@
1
+ {
2
+ "description": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).",
3
+ "type": "object",
4
+ "properties": {
5
+ "apiVersion": {
6
+ "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",
7
+ "type": [
8
+ "string",
9
+ "null"
10
+ ]
11
+ },
12
+ "kind": {
13
+ "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",
14
+ "type": [
15
+ "string",
16
+ "null"
17
+ ],
18
+ "enum": [
19
+ "Node"
20
+ ]
21
+ },
22
+ "metadata": {
23
+ "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
24
+ "type": [
25
+ "object",
26
+ "null"
27
+ ],
28
+ "properties": {
29
+ "annotations": {
30
+ "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",
31
+ "type": [
32
+ "object",
33
+ "null"
34
+ ],
35
+ "additionalProperties": {
36
+ "type": [
37
+ "string",
38
+ "null"
39
+ ]
40
+ }
41
+ },
42
+ "clusterName": {
43
+ "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.",
44
+ "type": [
45
+ "string",
46
+ "null"
47
+ ]
48
+ },
49
+ "creationTimestamp": {
50
+ "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.",
51
+ "type": [
52
+ "string",
53
+ "null"
54
+ ],
55
+ "format": "date-time"
56
+ },
57
+ "deletionGracePeriodSeconds": {
58
+ "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.",
59
+ "type": [
60
+ "integer",
61
+ "null"
62
+ ],
63
+ "format": "int64"
64
+ },
65
+ "deletionTimestamp": {
66
+ "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.",
67
+ "type": [
68
+ "string",
69
+ "null"
70
+ ],
71
+ "format": "date-time"
72
+ },
73
+ "finalizers": {
74
+ "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.",
75
+ "type": [
76
+ "array",
77
+ "null"
78
+ ],
79
+ "items": {
80
+ "type": [
81
+ "string",
82
+ "null"
83
+ ]
84
+ },
85
+ "x-kubernetes-patch-strategy": "merge"
86
+ },
87
+ "generateName": {
88
+ "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",
89
+ "type": [
90
+ "string",
91
+ "null"
92
+ ]
93
+ },
94
+ "generation": {
95
+ "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
96
+ "type": [
97
+ "integer",
98
+ "null"
99
+ ],
100
+ "format": "int64"
101
+ },
102
+ "labels": {
103
+ "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",
104
+ "type": [
105
+ "object",
106
+ "null"
107
+ ],
108
+ "additionalProperties": {
109
+ "type": [
110
+ "string",
111
+ "null"
112
+ ]
113
+ }
114
+ },
115
+ "managedFields": {
116
+ "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.",
117
+ "type": [
118
+ "array",
119
+ "null"
120
+ ],
121
+ "items": {
122
+ "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
123
+ "type": [
124
+ "object",
125
+ "null"
126
+ ],
127
+ "properties": {
128
+ "apiVersion": {
129
+ "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.",
130
+ "type": [
131
+ "string",
132
+ "null"
133
+ ]
134
+ },
135
+ "fieldsType": {
136
+ "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
137
+ "type": [
138
+ "string",
139
+ "null"
140
+ ]
141
+ },
142
+ "fieldsV1": {
143
+ "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",
144
+ "type": [
145
+ "object",
146
+ "null"
147
+ ]
148
+ },
149
+ "manager": {
150
+ "description": "Manager is an identifier of the workflow managing these fields.",
151
+ "type": [
152
+ "string",
153
+ "null"
154
+ ]
155
+ },
156
+ "operation": {
157
+ "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'.",
158
+ "type": [
159
+ "string",
160
+ "null"
161
+ ]
162
+ },
163
+ "subresource": {
164
+ "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.",
165
+ "type": [
166
+ "string",
167
+ "null"
168
+ ]
169
+ },
170
+ "time": {
171
+ "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.",
172
+ "type": [
173
+ "string",
174
+ "null"
175
+ ],
176
+ "format": "date-time"
177
+ }
178
+ }
179
+ }
180
+ },
181
+ "name": {
182
+ "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",
183
+ "type": [
184
+ "string",
185
+ "null"
186
+ ]
187
+ },
188
+ "namespace": {
189
+ "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",
190
+ "type": [
191
+ "string",
192
+ "null"
193
+ ]
194
+ },
195
+ "ownerReferences": {
196
+ "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.",
197
+ "type": [
198
+ "array",
199
+ "null"
200
+ ],
201
+ "items": {
202
+ "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.",
203
+ "type": [
204
+ "object",
205
+ "null"
206
+ ],
207
+ "required": [
208
+ "apiVersion",
209
+ "kind",
210
+ "name",
211
+ "uid"
212
+ ],
213
+ "properties": {
214
+ "apiVersion": {
215
+ "description": "API version of the referent.",
216
+ "type": "string"
217
+ },
218
+ "blockOwnerDeletion": {
219
+ "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.",
220
+ "type": [
221
+ "boolean",
222
+ "null"
223
+ ]
224
+ },
225
+ "controller": {
226
+ "description": "If true, this reference points to the managing controller.",
227
+ "type": [
228
+ "boolean",
229
+ "null"
230
+ ]
231
+ },
232
+ "kind": {
233
+ "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
234
+ "type": "string"
235
+ },
236
+ "name": {
237
+ "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
238
+ "type": "string"
239
+ },
240
+ "uid": {
241
+ "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
242
+ "type": "string"
243
+ }
244
+ },
245
+ "x-kubernetes-map-type": "atomic"
246
+ },
247
+ "x-kubernetes-patch-merge-key": "uid",
248
+ "x-kubernetes-patch-strategy": "merge"
249
+ },
250
+ "resourceVersion": {
251
+ "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",
252
+ "type": [
253
+ "string",
254
+ "null"
255
+ ]
256
+ },
257
+ "selfLink": {
258
+ "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.",
259
+ "type": [
260
+ "string",
261
+ "null"
262
+ ]
263
+ },
264
+ "uid": {
265
+ "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",
266
+ "type": [
267
+ "string",
268
+ "null"
269
+ ]
270
+ }
271
+ }
272
+ },
273
+ "spec": {
274
+ "description": "NodeSpec describes the attributes that a node is created with.",
275
+ "type": [
276
+ "object",
277
+ "null"
278
+ ],
279
+ "properties": {
280
+ "configSource": {
281
+ "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22",
282
+ "type": [
283
+ "object",
284
+ "null"
285
+ ],
286
+ "properties": {
287
+ "configMap": {
288
+ "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",
289
+ "type": [
290
+ "object",
291
+ "null"
292
+ ],
293
+ "required": [
294
+ "namespace",
295
+ "name",
296
+ "kubeletConfigKey"
297
+ ],
298
+ "properties": {
299
+ "kubeletConfigKey": {
300
+ "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.",
301
+ "type": "string"
302
+ },
303
+ "name": {
304
+ "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.",
305
+ "type": "string"
306
+ },
307
+ "namespace": {
308
+ "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.",
309
+ "type": "string"
310
+ },
311
+ "resourceVersion": {
312
+ "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
313
+ "type": [
314
+ "string",
315
+ "null"
316
+ ]
317
+ },
318
+ "uid": {
319
+ "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
320
+ "type": [
321
+ "string",
322
+ "null"
323
+ ]
324
+ }
325
+ }
326
+ }
327
+ }
328
+ },
329
+ "externalID": {
330
+ "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966",
331
+ "type": [
332
+ "string",
333
+ "null"
334
+ ]
335
+ },
336
+ "podCIDR": {
337
+ "description": "PodCIDR represents the pod IP range assigned to the node.",
338
+ "type": [
339
+ "string",
340
+ "null"
341
+ ]
342
+ },
343
+ "podCIDRs": {
344
+ "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.",
345
+ "type": [
346
+ "array",
347
+ "null"
348
+ ],
349
+ "items": {
350
+ "type": [
351
+ "string",
352
+ "null"
353
+ ]
354
+ },
355
+ "x-kubernetes-patch-strategy": "merge"
356
+ },
357
+ "providerID": {
358
+ "description": "ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>",
359
+ "type": [
360
+ "string",
361
+ "null"
362
+ ]
363
+ },
364
+ "taints": {
365
+ "description": "If specified, the node's taints.",
366
+ "type": [
367
+ "array",
368
+ "null"
369
+ ],
370
+ "items": {
371
+ "description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.",
372
+ "type": [
373
+ "object",
374
+ "null"
375
+ ],
376
+ "required": [
377
+ "key",
378
+ "effect"
379
+ ],
380
+ "properties": {
381
+ "effect": {
382
+ "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.",
383
+ "type": "string"
384
+ },
385
+ "key": {
386
+ "description": "Required. The taint key to be applied to a node.",
387
+ "type": "string"
388
+ },
389
+ "timeAdded": {
390
+ "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.",
391
+ "type": [
392
+ "string",
393
+ "null"
394
+ ],
395
+ "format": "date-time"
396
+ },
397
+ "value": {
398
+ "description": "The taint value corresponding to the taint key.",
399
+ "type": [
400
+ "string",
401
+ "null"
402
+ ]
403
+ }
404
+ }
405
+ }
406
+ },
407
+ "unschedulable": {
408
+ "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",
409
+ "type": [
410
+ "boolean",
411
+ "null"
412
+ ]
413
+ }
414
+ }
415
+ },
416
+ "status": {
417
+ "description": "NodeStatus is information about the current status of a node.",
418
+ "type": [
419
+ "object",
420
+ "null"
421
+ ],
422
+ "properties": {
423
+ "addresses": {
424
+ "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.",
425
+ "type": [
426
+ "array",
427
+ "null"
428
+ ],
429
+ "items": {
430
+ "description": "NodeAddress contains information for the node's address.",
431
+ "type": [
432
+ "object",
433
+ "null"
434
+ ],
435
+ "required": [
436
+ "type",
437
+ "address"
438
+ ],
439
+ "properties": {
440
+ "address": {
441
+ "description": "The node address.",
442
+ "type": "string"
443
+ },
444
+ "type": {
445
+ "description": "Node address type, one of Hostname, ExternalIP or InternalIP.",
446
+ "type": "string"
447
+ }
448
+ }
449
+ },
450
+ "x-kubernetes-patch-merge-key": "type",
451
+ "x-kubernetes-patch-strategy": "merge"
452
+ },
453
+ "allocatable": {
454
+ "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.",
455
+ "type": [
456
+ "object",
457
+ "null"
458
+ ],
459
+ "additionalProperties": {
460
+ "oneOf": [
461
+ {
462
+ "type": [
463
+ "string",
464
+ "null"
465
+ ]
466
+ },
467
+ {
468
+ "type": [
469
+ "number",
470
+ "null"
471
+ ]
472
+ }
473
+ ]
474
+ }
475
+ },
476
+ "capacity": {
477
+ "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
478
+ "type": [
479
+ "object",
480
+ "null"
481
+ ],
482
+ "additionalProperties": {
483
+ "oneOf": [
484
+ {
485
+ "type": [
486
+ "string",
487
+ "null"
488
+ ]
489
+ },
490
+ {
491
+ "type": [
492
+ "number",
493
+ "null"
494
+ ]
495
+ }
496
+ ]
497
+ }
498
+ },
499
+ "conditions": {
500
+ "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition",
501
+ "type": [
502
+ "array",
503
+ "null"
504
+ ],
505
+ "items": {
506
+ "description": "NodeCondition contains condition information for a node.",
507
+ "type": [
508
+ "object",
509
+ "null"
510
+ ],
511
+ "required": [
512
+ "type",
513
+ "status"
514
+ ],
515
+ "properties": {
516
+ "lastHeartbeatTime": {
517
+ "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.",
518
+ "type": [
519
+ "string",
520
+ "null"
521
+ ],
522
+ "format": "date-time"
523
+ },
524
+ "lastTransitionTime": {
525
+ "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.",
526
+ "type": [
527
+ "string",
528
+ "null"
529
+ ],
530
+ "format": "date-time"
531
+ },
532
+ "message": {
533
+ "description": "Human readable message indicating details about last transition.",
534
+ "type": [
535
+ "string",
536
+ "null"
537
+ ]
538
+ },
539
+ "reason": {
540
+ "description": "(brief) reason for the condition's last transition.",
541
+ "type": [
542
+ "string",
543
+ "null"
544
+ ]
545
+ },
546
+ "status": {
547
+ "description": "Status of the condition, one of True, False, Unknown.",
548
+ "type": "string"
549
+ },
550
+ "type": {
551
+ "description": "Type of node condition.",
552
+ "type": "string"
553
+ }
554
+ }
555
+ },
556
+ "x-kubernetes-patch-merge-key": "type",
557
+ "x-kubernetes-patch-strategy": "merge"
558
+ },
559
+ "config": {
560
+ "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.",
561
+ "type": [
562
+ "object",
563
+ "null"
564
+ ],
565
+ "properties": {
566
+ "active": {
567
+ "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22",
568
+ "type": [
569
+ "object",
570
+ "null"
571
+ ],
572
+ "properties": {
573
+ "configMap": {
574
+ "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",
575
+ "type": [
576
+ "object",
577
+ "null"
578
+ ],
579
+ "required": [
580
+ "namespace",
581
+ "name",
582
+ "kubeletConfigKey"
583
+ ],
584
+ "properties": {
585
+ "kubeletConfigKey": {
586
+ "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.",
587
+ "type": "string"
588
+ },
589
+ "name": {
590
+ "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.",
591
+ "type": "string"
592
+ },
593
+ "namespace": {
594
+ "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.",
595
+ "type": "string"
596
+ },
597
+ "resourceVersion": {
598
+ "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
599
+ "type": [
600
+ "string",
601
+ "null"
602
+ ]
603
+ },
604
+ "uid": {
605
+ "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
606
+ "type": [
607
+ "string",
608
+ "null"
609
+ ]
610
+ }
611
+ }
612
+ }
613
+ }
614
+ },
615
+ "assigned": {
616
+ "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22",
617
+ "type": [
618
+ "object",
619
+ "null"
620
+ ],
621
+ "properties": {
622
+ "configMap": {
623
+ "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",
624
+ "type": [
625
+ "object",
626
+ "null"
627
+ ],
628
+ "required": [
629
+ "namespace",
630
+ "name",
631
+ "kubeletConfigKey"
632
+ ],
633
+ "properties": {
634
+ "kubeletConfigKey": {
635
+ "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.",
636
+ "type": "string"
637
+ },
638
+ "name": {
639
+ "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.",
640
+ "type": "string"
641
+ },
642
+ "namespace": {
643
+ "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.",
644
+ "type": "string"
645
+ },
646
+ "resourceVersion": {
647
+ "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
648
+ "type": [
649
+ "string",
650
+ "null"
651
+ ]
652
+ },
653
+ "uid": {
654
+ "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
655
+ "type": [
656
+ "string",
657
+ "null"
658
+ ]
659
+ }
660
+ }
661
+ }
662
+ }
663
+ },
664
+ "error": {
665
+ "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.",
666
+ "type": [
667
+ "string",
668
+ "null"
669
+ ]
670
+ },
671
+ "lastKnownGood": {
672
+ "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22",
673
+ "type": [
674
+ "object",
675
+ "null"
676
+ ],
677
+ "properties": {
678
+ "configMap": {
679
+ "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",
680
+ "type": [
681
+ "object",
682
+ "null"
683
+ ],
684
+ "required": [
685
+ "namespace",
686
+ "name",
687
+ "kubeletConfigKey"
688
+ ],
689
+ "properties": {
690
+ "kubeletConfigKey": {
691
+ "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.",
692
+ "type": "string"
693
+ },
694
+ "name": {
695
+ "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.",
696
+ "type": "string"
697
+ },
698
+ "namespace": {
699
+ "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.",
700
+ "type": "string"
701
+ },
702
+ "resourceVersion": {
703
+ "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
704
+ "type": [
705
+ "string",
706
+ "null"
707
+ ]
708
+ },
709
+ "uid": {
710
+ "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
711
+ "type": [
712
+ "string",
713
+ "null"
714
+ ]
715
+ }
716
+ }
717
+ }
718
+ }
719
+ }
720
+ }
721
+ },
722
+ "daemonEndpoints": {
723
+ "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.",
724
+ "type": [
725
+ "object",
726
+ "null"
727
+ ],
728
+ "properties": {
729
+ "kubeletEndpoint": {
730
+ "description": "DaemonEndpoint contains information about a single Daemon endpoint.",
731
+ "type": [
732
+ "object",
733
+ "null"
734
+ ],
735
+ "required": [
736
+ "Port"
737
+ ],
738
+ "properties": {
739
+ "Port": {
740
+ "description": "Port number of the given endpoint.",
741
+ "type": "integer",
742
+ "format": "int32"
743
+ }
744
+ }
745
+ }
746
+ }
747
+ },
748
+ "images": {
749
+ "description": "List of container images on this node",
750
+ "type": [
751
+ "array",
752
+ "null"
753
+ ],
754
+ "items": {
755
+ "description": "Describe a container image",
756
+ "type": [
757
+ "object",
758
+ "null"
759
+ ],
760
+ "properties": {
761
+ "names": {
762
+ "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\"]",
763
+ "type": [
764
+ "array",
765
+ "null"
766
+ ],
767
+ "items": {
768
+ "type": [
769
+ "string",
770
+ "null"
771
+ ]
772
+ }
773
+ },
774
+ "sizeBytes": {
775
+ "description": "The size of the image in bytes.",
776
+ "type": [
777
+ "integer",
778
+ "null"
779
+ ],
780
+ "format": "int64"
781
+ }
782
+ }
783
+ }
784
+ },
785
+ "nodeInfo": {
786
+ "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.",
787
+ "type": [
788
+ "object",
789
+ "null"
790
+ ],
791
+ "required": [
792
+ "machineID",
793
+ "systemUUID",
794
+ "bootID",
795
+ "kernelVersion",
796
+ "osImage",
797
+ "containerRuntimeVersion",
798
+ "kubeletVersion",
799
+ "kubeProxyVersion",
800
+ "operatingSystem",
801
+ "architecture"
802
+ ],
803
+ "properties": {
804
+ "architecture": {
805
+ "description": "The Architecture reported by the node",
806
+ "type": "string"
807
+ },
808
+ "bootID": {
809
+ "description": "Boot ID reported by the node.",
810
+ "type": "string"
811
+ },
812
+ "containerRuntimeVersion": {
813
+ "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).",
814
+ "type": "string"
815
+ },
816
+ "kernelVersion": {
817
+ "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).",
818
+ "type": "string"
819
+ },
820
+ "kubeProxyVersion": {
821
+ "description": "KubeProxy Version reported by the node.",
822
+ "type": "string"
823
+ },
824
+ "kubeletVersion": {
825
+ "description": "Kubelet Version reported by the node.",
826
+ "type": "string"
827
+ },
828
+ "machineID": {
829
+ "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",
830
+ "type": "string"
831
+ },
832
+ "operatingSystem": {
833
+ "description": "The Operating System reported by the node",
834
+ "type": "string"
835
+ },
836
+ "osImage": {
837
+ "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).",
838
+ "type": "string"
839
+ },
840
+ "systemUUID": {
841
+ "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",
842
+ "type": "string"
843
+ }
844
+ }
845
+ },
846
+ "phase": {
847
+ "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.",
848
+ "type": [
849
+ "string",
850
+ "null"
851
+ ]
852
+ },
853
+ "volumesAttached": {
854
+ "description": "List of volumes that are attached to the node.",
855
+ "type": [
856
+ "array",
857
+ "null"
858
+ ],
859
+ "items": {
860
+ "description": "AttachedVolume describes a volume attached to a node",
861
+ "type": [
862
+ "object",
863
+ "null"
864
+ ],
865
+ "required": [
866
+ "name",
867
+ "devicePath"
868
+ ],
869
+ "properties": {
870
+ "devicePath": {
871
+ "description": "DevicePath represents the device path where the volume should be available",
872
+ "type": "string"
873
+ },
874
+ "name": {
875
+ "description": "Name of the attached volume",
876
+ "type": "string"
877
+ }
878
+ }
879
+ }
880
+ },
881
+ "volumesInUse": {
882
+ "description": "List of attachable volumes in use (mounted) by the node.",
883
+ "type": [
884
+ "array",
885
+ "null"
886
+ ],
887
+ "items": {
888
+ "type": [
889
+ "string",
890
+ "null"
891
+ ]
892
+ }
893
+ }
894
+ }
895
+ }
896
+ },
897
+ "x-kubernetes-group-version-kind": [
898
+ {
899
+ "group": "",
900
+ "kind": "Node",
901
+ "version": "v1"
902
+ }
903
+ ],
904
+ "$schema": "http://json-schema.org/schema#"
905
+ }