Skip to content

Commit 7ef5fdd

Browse files
authored
Merge pull request #63623 from rohennes/TELCODOCS-1316-lvms
TELCODOCS-1316: Adding lvms storage subscription for ZTP
2 parents 3a34b15 + c525d4d commit 7ef5fdd

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

modules/ztp-provisioning-lvm-storage.adoc

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ You can configure {lvms-first} for managed clusters that you deploy with {ztp-fi
1111
[NOTE]
1212
====
1313
You use {lvms} to persist event subscriptions when you use PTP events or bare-metal hardware events with HTTP transport.
14+
15+
Use the Local Storage Operator for persistent storage that uses local volumes in distributed units.
1416
====
1517

1618
.Prerequisites
@@ -37,13 +39,31 @@ You use {lvms} to persist event subscriptions when you use PTP events or bare-me
3739
channel: stable-{product-version}
3840
policyName: subscription-policies
3941
----
42+
+
43+
[NOTE]
44+
====
45+
The Storage LVMO subscription is deprecated. In future releases of {product-title}, the storage LVMO subscription will not be available. Instead, you must use the Storage LVMS subscription.
46+
47+
In {product-title} {product-version}, you can use the Storage LVMS subscription instead of the LVMO subscription. The LVMS subscription does not require manual overrides in the `common-ranGen.yaml` file. Add the following YAML to `spec.sourceFiles` in the `common-ranGen.yaml` file to use the Storage LVMS subscription:
48+
49+
[source,yaml]
50+
----
51+
- fileName: StorageLVMSubscriptionNS.yaml
52+
policyName: subscription-policies
53+
- fileName: StorageLVMSubscriptionOperGroup.yaml
54+
policyName: subscription-policies
55+
- fileName: StorageLVMSubscription.yaml
56+
policyName: subscription-policies
57+
----
58+
59+
====
4060
4161
. Add the `LVMCluster` CR to `spec.sourceFiles` in your specific group or individual site configuration file. For example, in the `group-du-sno-ranGen.yaml` file, add the following:
4262
+
4363
[source,yaml]
4464
----
4565
- fileName: StorageLVMCluster.yaml
46-
policyName: "lvmo-config" <1>
66+
policyName: "lvms-config" <1>
4767
spec:
4868
storage:
4969
deviceClasses:

0 commit comments

Comments
 (0)