forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresourcerequirements.json
53 lines (53 loc) · 1.39 KB
/
resourcerequirements.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
{
"description": "ResourceRequirements describes the compute resource requirements.",
"properties": {
"limits": {
"additionalProperties": {
"oneOf": [
{
"type": [
"string",
"null"
]
},
{
"type": [
"number",
"null"
]
}
]
},
"description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
"type": [
"object",
"null"
]
},
"requests": {
"additionalProperties": {
"oneOf": [
{
"type": [
"string",
"null"
]
},
{
"type": [
"number",
"null"
]
}
]
},
"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. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
"type": [
"object",
"null"
]
}
},
"type": "object",
"$schema": "http://json-schema.org/schema#"
}