Commit b8261c6
authored
Update lvms-scaling-storage-of-clusters-using-rhacm.adoc
- Incorrect command in scaling up the storage of clusters by using RHACM documentation.
- Here is the documentation link:
https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/storage/configuring-persistent-storage#lvms-scaling-storage-of-clusters-using-rhacm_logical-volume-manager-storage
- Command mentioned in step 2 of the procedure and example cr mentioned in the step 3 is incorrect.
Here is updated look:
2. Edit the LVMCluster CR that you created using RHACM by running the following command
~~~
$ oc edit -f <file_name> -n <namespace> 1
~~~
3. In the LVMCluster CR, add the path to the new device in the deviceSelector field.
Example LVMCluster CR
~~~
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:
# ...
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 parent 6e5997e commit b8261c6
1 file changed
+22
-22
lines changedLines changed: 22 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
0 commit comments