v1
·PersistentVolumeClaim
PersistentVolumeClaim is a user's request for and claim to a persistent volume
Click on Property Name to show the description, and Pink Types to expand schema.
Required properties are marked with *
Change History
Kubernetes v1.32
2 properties have changed the description
- .status.conditions.status
- .status.conditions.type
Kubernetes v1.31
3 properties have changed the description
- .spec.volumeAttributesClassName
- .status.currentVolumeAttributesClassName
- .status.modifyVolumeStatus
Kubernetes v1.30
2 properties have changed the description
- .spec.volumeAttributesClassName
- .status.conditions
Kubernetes v1.29
3 properties have been added on this version
- .spec.volumeAttributesClassName
- .status.currentVolumeAttributesClassName
- .status.modifyVolumeStatus
1 property has been removed on this version
- .spec.resources.claims
Kubernetes v1.28
1 property has been added on this version
- .status.allocatedResourceStatuses
1 property has been removed on this version
- .status.resizeStatus
1 property has changed the description
- .status.allocatedResources
Kubernetes v1.27
10 properties have changed the description
- .metadata.annotations
- .metadata.labels
- .metadata.name
- .metadata.namespace
- .metadata.ownerReferences.name
- .metadata.ownerReferences.uid
- .metadata.uid
- .spec.resources.claims
- .spec.resources.requests
- .status.phase
Kubernetes v1.26
2 properties have been added on this version
- .spec.dataSourceRef.namespace
- .spec.resources.claims
2 properties have changed the description
- .spec.dataSource
- .spec.dataSourceRef
Kubernetes v1.25
1 property has been removed on this version
- .metadata.clusterName
Kubernetes v1.24
7 properties have changed the description
- .metadata.clusterName
- .metadata.generateName
- .metadata.managedFields.time
- .metadata.ownerReferences.blockOwnerDeletion
- .metadata.selfLink
- .spec
- .status
Kubernetes v1.23
2 properties have been added on this version
- .status.allocatedResources
- .status.resizeStatus
3 properties have changed the description
- .spec.resources
- .status.conditions.type
- .status.phase
Kubernetes v1.22
2 properties have been added on this version
- .metadata.managedFields.subresource
- .spec.dataSourceRef
1 property has changed the description
- .spec.dataSource
Kubernetes v1.21
2 properties have changed the description
- .spec.resources.limits
- .spec.resources.requests
Kubernetes v1.20
1 property has changed the description
- .spec.dataSource
Kubernetes v1.19
1 property has changed the description
- .metadata.namespace
Kubernetes v1.18
2 properties have changed the description
- .spec.dataSource
- .spec.volumeMode
Kubernetes v1.17
1 property has changed the description
- .metadata.finalizers
Kubernetes v1.16
2 properties have been added on this version
- .metadata.managedFields.fieldsType
- .metadata.managedFields.fieldsV1
2 properties have been removed on this version
- .metadata.initializers
- .metadata.managedFields.fields
3 properties have changed the description
- .apiVersion
- .kind
- .metadata
Kubernetes v1.15
1 property has been added on this version
- .metadata.initializers.result.metadata.remainingItemCount
Kubernetes v1.14
1 property has been added on this version
- .metadata.managedFields
1 property has changed the description
- .metadata.initializers
Kubernetes v1.13
1 property has changed the description
- .spec.volumeMode
Kubernetes v1.12
1 property has been added on this version
- .spec.dataSource
1 property has changed the description
- .metadata.initializers.result.metadata.continue
Kubernetes v1.11
Examples
There is 1 example of PersistentVolumeClaim that you can use as a starting point to create your own.
apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvc-example namespace: default # PersistentVolumeClaim is a namespaced resource spec: storageClassName: my-custom-storage-class # Reference a custom StorageClass. Omit line to use the default StorageClass accessModes: - ReadWriteOnce # ReadWriteOnce, ReadOnlyMany, ReadWriteMany resources: requests: storage: 10Gi # Unit in Ti, Gi, Mi, etc.