Files
website/docs/api-reference/v1.5/documents/_generated_persistentvolumespec_v1_concept.md
T
2017-01-13 09:56:34 -08:00

1.4 KiB


PersistentVolumeSpec v1

Group Version Kind
Core v1 PersistentVolumeSpec

PersistentVolumeSpec is the specification of a persistent volume.

Field Description
accessModes
string array
AccessModes contains all ways the volume can be mounted. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes
capacity
object
A description of the persistent volume's resources and capacity. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity
claimRef
ObjectReference
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding
persistentVolumeReclaimPolicy
string
What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy