forked from instrumenta/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpersistentvolumeclaimspec.json
49 lines (49 loc) · 1.77 KB
/
persistentvolumeclaimspec.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
{
"description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes",
"properties": {
"accessModes": {
"description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
}
},
"resources": {
"description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources",
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.ResourceRequirements"
},
"selector": {
"description": "A label query over volumes to consider for binding.",
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
},
"storageClassName": {
"description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
"type": [
"string",
"null"
]
},
"volumeMode": {
"description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future.",
"type": [
"string",
"null"
]
},
"volumeName": {
"description": "VolumeName is the binding reference to the PersistentVolume backing this claim.",
"type": [
"string",
"null"
]
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}