Skip to content

Commit

Permalink
Merge pull request #75123 from sr1kar99/16643-storageclass-name-examp…
Browse files Browse the repository at this point in the history
…le-update

OCPBUGS#16643: Updated storage class name in YAML configurations
  • Loading branch information
mburke5678 committed Apr 29, 2024
2 parents 5efae72 + af0e275 commit 0d8b663
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions modules/persistent-storage-local-create-cr-manual.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Delete
storageClassName: local-storage <2>
storageClassName: local-sc <2>
local:
path: /dev/xvdf <3>
nodeAffinity:
Expand Down Expand Up @@ -76,7 +76,7 @@ spec:
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Delete
storageClassName: local-storage <2>
storageClassName: local-sc <2>
local:
path: /dev/xvdf <3>
nodeAffinity:
Expand Down Expand Up @@ -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
----
2 changes: 1 addition & 1 deletion modules/persistent-storage-local-create-cr.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
10 changes: 5 additions & 5 deletions modules/persistent-storage-local-discovery.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ spec:
values:
- worker-0
- worker-1
storageClassName: example-storageclass <1>
storageClassName: local-sc <1>
volumeMode: Filesystem
fsType: ext4
maxDeviceCount: 10
Expand Down Expand Up @@ -141,10 +141,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]
Expand Down
2 changes: 1 addition & 1 deletion modules/persistent-storage-local-tolerations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d8b663

Please sign in to comment.