@@ -21,7 +21,7 @@ You can scale up the storage capacity of worker nodes on the clusters by using {
2121+
2222[source,terminal]
2323----
24- $ oc edit -f <file _name > -ns <namespace > <1>
24+ $ oc edit -f <file _name > -n <namespace > <1>
2525----
2626<1> Replace `<file_name>` with the name of the `LVMCluster` CR.
2727
@@ -31,27 +31,27 @@ $ oc edit -f <file_name> -ns <namespace> <1>
3131[source,yaml]
3232----
3333apiVersion: policy.open-cluster-management.io/v1
34- kind: ConfigurationPolicy
35- metadata:
36- name: lvms
37- spec:
38- object-templates:
39- - complianceType: musthave
40- objectDefinition:
41- apiVersion: lvm.topolvm.io/v1alpha1
42- kind: LVMCluster
43- metadata:
44- name: my-lvmcluster
45- namespace: openshift-storage
46- spec:
47- storage:
48- deviceClasses:
34+ kind: ConfigurationPolicy
35+ metadata:
36+ name: lvms
37+ spec:
38+ object-templates:
39+ - complianceType: musthave
40+ objectDefinition:
41+ apiVersion: lvm.topolvm.io/v1alpha1
42+ kind: LVMCluster
43+ metadata:
44+ name: my-lvmcluster
45+ namespace: openshift-storage
46+ spec:
47+ storage:
48+ deviceClasses:
4949# ...
50- deviceSelector: <1>
51- paths: <2>
52- - /dev/disk/by-path/pci-0000:87:00.0-nvme-1
53- optionalPaths: <3>
54- - /dev/disk/by-path/pci-0000:89:00.0-nvme-1
50+ deviceSelector: <1>
51+ paths: <2>
52+ - /dev/disk/by-path/pci-0000:87:00.0-nvme-1
53+ optionalPaths: <3>
54+ - /dev/disk/by-path/pci-0000:89:00.0-nvme-1
5555# ...
5656----
5757<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
6666After a device is added to the LVM volume group, it cannot be removed.
6767====
6868
69- . Save the `LVMCluster` CR.
69+ . Save the `LVMCluster` CR.
0 commit comments