Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.96 KB

V1PersistentVolumeClaimSpec.md

File metadata and controls

16 lines (12 loc) · 1.96 KB

V1PersistentVolumeClaimSpec

Properties

Name Type Description Notes
access_modes list[str] AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 [optional]
data_source V1TypedLocalObjectReference This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change. [optional]
resources V1ResourceRequirements Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources [optional]
selector V1LabelSelector A label query over volumes to consider for binding. [optional]
storage_class_name str Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 [optional]
volume_mode str volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature. [optional]
volume_name str VolumeName is the binding reference to the PersistentVolume backing this claim. [optional]

[Back to Model list] [Back to API list] [Back to README]