1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

Merge pull request #97130 from openshift-cherrypick-robot/cherry-pick-96918-to-enterprise-4.20

[enterprise-4.20] OCPBUGS#43062: Docs - updating the PVC config example
This commit is contained in:
Darragh Fitzmaurice
2025-08-05 11:29:23 +01:00
committed by GitHub

View File

@@ -37,7 +37,7 @@ metadata:
spec:
accessModes:
- ReadWriteOnce
volumeMode: Block <2>
volumeMode: Filesystem <2>
resources:
requests:
storage: 10Gi <3>
@@ -46,7 +46,7 @@ spec:
storageClassName: lvms-vg1 <5>
----
<1> Specify a name for the PVC.
<2> To create a block PVC, set this field to `Block`. To create a file PVC, set this field to `Filesystem`.
<2> To create a file PVC, set this field to `Filesystem`. To create a block PVC, set this field to `Block`.
<3> Specify the storage size. If the value is less than the minimum storage size, the requested storage size is rounded to the minimum storage size. The total storage size you can provision is limited by the size of the Logical Volume Manager (LVM) thin pool and the over-provisioning factor.
<4> Optional: Specify the storage limit. Set this field to a value that is greater than or equal to the minimum storage size. Otherwise, PVC creation fails with an error.
<5> The value of the `storageClassName` field must be in the format `lvms-<device_class_name>` where `<device_class_name>` is the value of the `deviceClasses.name` field in the `LVMCluster` CR.