PV Status | Description |
Available | When a created PV is not bound with a PVC, the PV is in the Available status. |
Bound | After a PVC is bound with a PV, the PV is in the Bound status. |
Released | For a PV with the Retain reclaim policy, after its bound PVC is deleted, the status of the PV will change from Bound to Released. Note: for a PV in the Released status, you need to manually delete the claimRef field in the YAML configuration file so that the PV can be successfully bound with a new PVC. |
PVC Status | Description |
Pending | When no eligible PV can be bound with a PVC, the PVC is in the Pending status. |
Bound | After a PVC is bound with a PV, the PVC is in the Bound status. |
Parameter | Description |
VolumeMode | Specifies whether the volume is of the FileSystem type or Block type. The PV to be selected must match the PVC in terms of the VolumeMode label. |
Storageclass | The storageclass of the PV and PVC must be the same (or both empty). |
AccessMode | Specifies the volume access mode. The AccessMode of the PV and that of the PVC must be the same. |
Size | Specifies the storage capacity of the volume. The specified capacity of the PVC must be less than or equal to that of the PV. If multiple eligible PVs are available, bind the PV with the smallest capacity to the PVC. |
Was this page helpful?