This repository was archived by the owner on Apr 14, 2025. It is now read-only.
forked from cw-ozaki/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresourcerequirements-v1.json
41 lines (41 loc) · 1.67 KB
/
resourcerequirements-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
{
"description": "ResourceRequirements describes the compute resource requirements.",
"properties": {
"claims": {
"description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.ResourceClaim"
},
"type": [
"array",
"null"
],
"x-kubernetes-list-map-keys": [
"name"
],
"x-kubernetes-list-type": "map"
},
"limits": {
"additionalProperties": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
},
"description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
"type": [
"object",
"null"
]
},
"requests": {
"additionalProperties": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
},
"description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
"type": [
"object",
"null"
]
}
},
"type": "object",
"$schema": "http://json-schema.org/schema#"
}