diff --git a/modules/lvms-scaling-storage-of-clusters-using-rhacm.adoc b/modules/lvms-scaling-storage-of-clusters-using-rhacm.adoc index c00d08cc7287..98966606a573 100644 --- a/modules/lvms-scaling-storage-of-clusters-using-rhacm.adoc +++ b/modules/lvms-scaling-storage-of-clusters-using-rhacm.adoc @@ -21,7 +21,7 @@ You can scale up the storage capacity of worker nodes on the clusters by using { + [source,terminal] ---- -$ oc edit -f -ns <1> +$ oc edit -f -n <1> ---- <1> Replace `` with the name of the `LVMCluster` CR. @@ -31,27 +31,27 @@ $ oc edit -f -ns <1> [source,yaml] ---- apiVersion: policy.open-cluster-management.io/v1 - kind: ConfigurationPolicy - metadata: - name: lvms - spec: - object-templates: - - complianceType: musthave - objectDefinition: - apiVersion: lvm.topolvm.io/v1alpha1 - kind: LVMCluster - metadata: - name: my-lvmcluster - namespace: openshift-storage - spec: - storage: - deviceClasses: +kind: ConfigurationPolicy +metadata: + name: lvms +spec: + object-templates: + - complianceType: musthave + objectDefinition: + apiVersion: lvm.topolvm.io/v1alpha1 + kind: LVMCluster + metadata: + name: my-lvmcluster + namespace: openshift-storage + spec: + storage: + deviceClasses: # ... - deviceSelector: <1> - paths: <2> - - /dev/disk/by-path/pci-0000:87:00.0-nvme-1 - optionalPaths: <3> - - /dev/disk/by-path/pci-0000:89:00.0-nvme-1 + deviceSelector: <1> + paths: <2> + - /dev/disk/by-path/pci-0000:87:00.0-nvme-1 + optionalPaths: <3> + - /dev/disk/by-path/pci-0000:89:00.0-nvme-1 # ... ---- <1> Contains the configuration to specify the paths to the devices that you want to add to the LVM volume group. @@ -66,4 +66,4 @@ You can specify the device paths in the `paths` field, the `optionalPaths` field After a device is added to the LVM volume group, it cannot be removed. ==== -. Save the `LVMCluster` CR. \ No newline at end of file +. Save the `LVMCluster` CR.