From af0e275601a45a6c4c6707a67807bbb5898a4d75 Mon Sep 17 00:00:00 2001 From: srir Date: Thu, 25 Apr 2024 10:57:06 +0530 Subject: [PATCH] OCPBUGS#16643: Updated storage class name in YAML configurations --- .../persistent-storage-local-create-cr-manual.adoc | 12 ++++++------ modules/persistent-storage-local-create-cr.adoc | 2 +- modules/persistent-storage-local-discovery.adoc | 10 +++++----- modules/persistent-storage-local-tolerations.adoc | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/modules/persistent-storage-local-create-cr-manual.adoc b/modules/persistent-storage-local-create-cr-manual.adoc index 97186ea10534..3942fd11421c 100644 --- a/modules/persistent-storage-local-create-cr-manual.adoc +++ b/modules/persistent-storage-local-create-cr-manual.adoc @@ -41,7 +41,7 @@ spec: accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Delete - storageClassName: local-storage <2> + storageClassName: local-sc <2> local: path: /dev/xvdf <3> nodeAffinity: @@ -76,7 +76,7 @@ spec: accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Delete - storageClassName: local-storage <2> + storageClassName: local-sc <2> local: path: /dev/xvdf <3> nodeAffinity: @@ -110,8 +110,8 @@ $ oc get pv [source,terminal] ---- NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE -example-pv-filesystem 100Gi RWO Delete Available local-storage 3m47s -example-pv1 1Gi RWO Delete Bound local-storage/pvc1 local-storage 12h -example-pv2 1Gi RWO Delete Bound local-storage/pvc2 local-storage 12h -example-pv3 1Gi RWO Delete Bound local-storage/pvc3 local-storage 12h +example-pv-filesystem 100Gi RWO Delete Available local-sc 3m47s +example-pv1 1Gi RWO Delete Bound local-storage/pvc1 local-sc 12h +example-pv2 1Gi RWO Delete Bound local-storage/pvc2 local-sc 12h +example-pv3 1Gi RWO Delete Bound local-storage/pvc3 local-sc 12h ---- diff --git a/modules/persistent-storage-local-create-cr.adoc b/modules/persistent-storage-local-create-cr.adoc index b8bb920a5e23..61ea249d4382 100644 --- a/modules/persistent-storage-local-create-cr.adoc +++ b/modules/persistent-storage-local-create-cr.adoc @@ -91,7 +91,7 @@ spec: - ip-10-0-140-255 - ip-10-0-144-180 storageClassDevices: - - storageClassName: "localblock-sc" <3> + - storageClassName: "local-sc" <3> forceWipeDevicesAndDestroyAllData: false <4> volumeMode: Block <5> devicePaths: <6> diff --git a/modules/persistent-storage-local-discovery.adoc b/modules/persistent-storage-local-discovery.adoc index 6765cbc6444d..773c594814e8 100644 --- a/modules/persistent-storage-local-discovery.adoc +++ b/modules/persistent-storage-local-discovery.adoc @@ -102,7 +102,7 @@ spec: values: - worker-0 - worker-1 - storageClassName: example-storageclass <1> + storageClassName: local-sc <1> volumeMode: Filesystem fsType: ext4 maxDeviceCount: 10 @@ -143,10 +143,10 @@ $ oc get pv .Example output [source,terminal] ---- -NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE -local-pv-1cec77cf 100Gi RWO Delete Available example-storageclass 88m -local-pv-2ef7cd2a 100Gi RWO Delete Available example-storageclass 82m -local-pv-3fa1c73 100Gi RWO Delete Available example-storageclass 48m +NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE +local-pv-1cec77cf 100Gi RWO Delete Available local-sc 88m +local-pv-2ef7cd2a 100Gi RWO Delete Available local-sc 82m +local-pv-3fa1c73 100Gi RWO Delete Available local-sc 48m ---- [NOTE] diff --git a/modules/persistent-storage-local-tolerations.adoc b/modules/persistent-storage-local-tolerations.adoc index e53c6ac042b5..21e8441ce016 100644 --- a/modules/persistent-storage-local-tolerations.adoc +++ b/modules/persistent-storage-local-tolerations.adoc @@ -42,7 +42,7 @@ To configure local volumes for scheduling on tainted nodes: operator: Equal <2> value: "localstorage" <3> storageClassDevices: - - storageClassName: "localblock-sc" + - storageClassName: "local-sc" volumeMode: Block <4> devicePaths: <5> - /dev/xvdg