@@ -21,7 +21,7 @@ You can scale up the storage capacity of worker nodes on the clusters by using {
21
21
+
22
22
[source,terminal]
23
23
----
24
- $ oc edit -f <file _name > -ns <namespace > <1>
24
+ $ oc edit -f <file _name > -n <namespace > <1>
25
25
----
26
26
<1> Replace `<file_name>` with the name of the `LVMCluster` CR.
27
27
@@ -31,27 +31,27 @@ $ oc edit -f <file_name> -ns <namespace> <1>
31
31
[source,yaml]
32
32
----
33
33
apiVersion: 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:
49
49
# ...
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
55
55
# ...
56
56
----
57
57
<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
66
66
After a device is added to the LVM volume group, it cannot be removed.
67
67
====
68
68
69
- . Save the `LVMCluster` CR.
69
+ . Save the `LVMCluster` CR.
0 commit comments