Skip to content

Commit

Permalink
Change storage class to be read from variable to enable GCP and CNV
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfgang Kulhanek authored and Wolfgang Kulhanek committed Nov 15, 2024
1 parent 1472ceb commit a3460fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/modules/ROOT/pages/module-03-backup-restore.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ image::module-03-backup-restore/05.png[]
====
[NOTE]
This will provision the VM with preferred storage settings for the `ocs-external-storagecluster-ceph-rbd` StorageClass, specifically *_Block VolumeMode_* to provide the *_ReadWriteMany_* access required to enable live migration between OpenShift nodes.
This will provision the VM with preferred storage settings for the `{kasten_storageclass}` StorageClass, specifically *_Block VolumeMode_* to provide the *_ReadWriteMany_* access required to enable live migration between OpenShift nodes.
====

. Validate the `fedora-k10-volume` PersistentVolumeClaim configuration from *_Storage → PersistentVolumeClaims_* in the sidebar.
Expand All @@ -52,13 +52,13 @@ As some storage provisioners may not fully support Block volume mode, StorageCla
This is skipped in the lab exercise as the `openshift-storage.rbd.csi.ceph.com` provisioner is known to be compatible.
====

. Your `StorageClass` has already been set up to allow the Kasten datamover to export raw Block volumes using the `ocs-external-storagecluster-ceph-rbd` StorageClass:
. Your `StorageClass` has already been set up to allow the Kasten datamover to export raw Block volumes using the `{kasten_storageclass}` StorageClass:
+
In the *_Web Terminal_*, run the following command to validate that the annotation is present (you should see an annotation starting with `k10.kastion.io`):
+
[source,bash,role=execute,subs="attributes"]
----
oc get sc ocs-external-storagecluster-ceph-rbd -ojsonpath=='{.metadata.annotations}';echo
oc get sc {kasten_storageclass} -ojsonpath=='{.metadata.annotations}';echo
----
+
====
Expand All @@ -68,7 +68,7 @@ The command to annotate the storage class would be (you don't need to execute th
[source,bash]
----
oc annotate storageclass ocs-external-storagecluster-ceph-rbd \
oc annotate storageclass {kasten_storageclass} \
k10.kasten.io/sc-supports-block-mode-exports=true
----
====
Expand Down

0 comments on commit a3460fc

Please sign in to comment.