Skip to content

Commit 222aac4

Browse files
authored
Merge pull request #69742 from sr1kar99/remove-lvmcluster-cr-step-in-lvm-installation
OCPBUGS#25991: Removed "Create the LVMCluster resource" step in "Installing LVM Storage with the CLI" proc
2 parents 29d9591 + 7fb3b89 commit 222aac4

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

modules/lvms-installing-logical-volume-manager-operator-using-cli.adoc

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -88,49 +88,6 @@ spec:
8888
$ oc create -f lvms-sub.yaml
8989
----
9090

91-
. Create the `LVMCluster` resource:
92-
93-
.. Save the following YAML in the `lvmcluster.yaml` file:
94-
+
95-
[source,yaml]
96-
----
97-
apiVersion: lvm.topolvm.io/v1alpha1
98-
kind: LVMCluster
99-
metadata:
100-
name: my-lvmcluster
101-
namespace: openshift-storage
102-
spec:
103-
storage:
104-
deviceClasses:
105-
- name: vg1
106-
deviceSelector:
107-
paths:
108-
- /dev/disk/by-path/pci-0000:87:00.0-nvme-1
109-
- /dev/disk/by-path/pci-0000:88:00.0-nvme-1
110-
optionalPaths:
111-
- /dev/disk/by-path/pci-0000:89:00.0-nvme-1
112-
- /dev/disk/by-path/pci-0000:90:00.0-nvme-1
113-
thinPoolConfig:
114-
name: thin-pool-1
115-
sizePercent: 90
116-
overprovisionRatio: 10
117-
nodeSelector:
118-
nodeSelectorTerms:
119-
- matchExpressions:
120-
- key: app
121-
operator: In
122-
values:
123-
- test1
124-
----
125-
126-
.. Create the `LVMCluster` CR:
127-
+
128-
[source,yaml]
129-
----
130-
$ oc create -f lvmcluster.yaml
131-
----
132-
133-
13491
. To verify that the Operator is installed, enter the following command:
13592
+
13693
[source,terminal]

0 commit comments

Comments
 (0)