1. CSI drivers supported by OpenShift container platform [1] Table 1: Add a checkmark for CSI resize for RHV. 2. oVirt CSI driver storage class [2] (code example): <1> as-is <2> Change "false" to "<boolean>" with explanation as-is. <3> as-is <4> Change "true" to "<boolean>" with explanation: if "true" thin provisoning, if "false" preallocated. Thin provisioning is recommended. (Gal needs to check this out. <5> possible values: ext4 or xfs 3. Creating a persistent volume on RHV > pvc-ovirt.yaml: ---- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvc-ovirt spec: storageClassName: ovirt-csi-sc accessModes: - ReadWriteOnce resources: requests: storage: <volume size> (Add one space to indent it as shown here). volumeMode: <volume mode> ---- 4. Code example under "oVirt CSI driver storage class" [4] Add new stuff: ---- apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: <storage-class-name> annotations: storageclass.kubernetes.io/is-default-class: <bool> provisioner: csi.ovirt.org allowVolumeExpansion: <bool> ** recommended true reclaimPolicy: Delete volumeBindingMode: Immediate parameters: storageDomainName: <rhv-storage-domain-name> thinProvisioning: <bool> ** recommended true csi.storage.k8s.io/fstype: <ext4|xfs> ---- 5. Add a section for RHV/oVirt just as there are specifics for other providers. Use code example from previous item. [1] https://docs.openshift.com/container-platform/4.7/storage/container_storage_interface/persistent-storage-csi.html#csi-drivers-supported_persistent-storage-csi [2] https://docs.openshift.com/container-platform/4.7/storage/container_storage_interface/persistent-storage-csi-ovirt.html#ovirt-csi-driver-storage-class_persistent-storage-csi-ovirt [3] https://docs.openshift.com/container-platform/4.7/storage/container_storage_interface/persistent-storage-csi-ovirt.html#persistent-storage-rhv_persistent-storage-csi-ovirt [4] https://docs.openshift.com/container-platform/4.7/storage/container_storage_interface/persistent-storage-csi-ovirt.html#ovirt-csi-driver-storage-class_persistent-storage-csi-ovirt [5] https://docs.openshift.com/container-platform/4.7/post_installation_configuration/storage-configuration.html#defining-storage-classes_post-install-storage-configuration
I created a PR for this: https://github.com/openshift/openshift-docs/pull/34475 Gal, please review.
Preview is here: https://deploy-preview-34475--osdocs.netlify.app/?utm_source=github&utm_campaign=bot_dp For each item in comment 2: 1. CSI drivers supported by OpenShift container platform Table 1: https://deploy-preview-34475--osdocs.netlify.app/openshift-enterprise/latest/storage/container_storage_interface/persistent-storage-csi.html#csi-drivers-supported_persistent-storage-csi 2. and 4. oVirt CSI driver storage class (code example): https://deploy-preview-34475--osdocs.netlify.app/openshift-enterprise/latest/storage/container_storage_interface/persistent-storage-csi-ovirt.html#ovirt-csi-driver-storage-class_persistent-storage-csi-ovirt 3. Creating a persistent volume on RHV > pvc-ovirt.yaml: https://deploy-preview-34475--osdocs.netlify.app/openshift-enterprise/latest/storage/container_storage_interface/persistent-storage-csi-ovirt.html#persistent-storage-rhv_persistent-storage-csi-ovirt 5. Add a section for RHV/oVirt just as there are specifics for other providers. Use code example from previous item. https://deploy-preview-34475--osdocs.netlify.app/openshift-enterprise/latest/post_installation_configuration/storage-configuration.html#ovirt-csi-driver-storage-class_post-install-storage-configuration
(In reply to Steve Goodman from comment #3) > I created a PR for this: > https://github.com/openshift/openshift-docs/pull/34475 > > Gal, please review. Done
(In reply to Gal Zaidman from comment #5) > Done I implemented your comments, please approve.
Michal, Could you please take a look at this? Links to the preview are included in the PR description.
Michal, Can you please mark this as VERIFIED or let me know what else needs to be fixed?
I checked those doc: 1. CSI drivers supported by OpenShift container platform Table 1: https://deploy-preview-34475--osdocs.netlify.app/openshift-enterprise/latest/storage/container_storage_interface/persistent-storage-csi.html#csi-drivers-supported_persistent-storage-csi 2. and 4. oVirt CSI driver storage class (code example): https://deploy-preview-34475--osdocs.netlify.app/openshift-enterprise/latest/storage/container_storage_interface/persistent-storage-csi-ovirt.html#ovirt-csi-driver-storage-class_persistent-storage-csi-ovirt 3. Creating a persistent volume on RHV > pvc-ovirt.yaml: https://deploy-preview-34475--osdocs.netlify.app/openshift-enterprise/latest/storage/container_storage_interface/persistent-storage-csi-ovirt.html#persistent-storage-rhv_persistent-storage-csi-ovirt 5. Add a section for RHV/oVirt just as there are specifics for other providers. Use code example from previous item. https://deploy-preview-34475--osdocs.netlify.app/openshift-enterprise/latest/post_installation_configuration/storage-configuration.html#ovirt-csi-driver-storage-class_post-install-storage-configuration looks great, thank Steve that you fixed all my comments!