File tree Expand file tree Collapse file tree 1 file changed +0
-43
lines changed Expand file tree Collapse file tree 1 file changed +0
-43
lines changed Original file line number Diff line number Diff line change 88
88
$ oc create -f lvms-sub.yaml
89
89
----
90
90
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
-
134
91
. To verify that the Operator is installed, enter the following command:
135
92
+
136
93
[source,terminal]
You can’t perform that action at this time.
0 commit comments