Skip to content

Commit 747ad78

Browse files
authored
Merge pull request #111650 from lcavalle/TELCODOCS-2706-dita-cleanup
TELCODOCS-2706 DITA migration cleanup for update-before-the-update.adoc
2 parents f141aea + c0c3b92 commit 747ad78

4 files changed

Lines changed: 34 additions & 17 deletions

File tree

modules/creating-single-etcd-backup.adoc

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[id="creating-single-etcd-backup_{context}"]
88
= Creating a single automated etcd backup
99

10+
[role="_abstract"]
1011
Follow these steps to create a single etcd backup by creating and applying a custom resource (CR).
1112

1213
.Prerequisites
@@ -32,10 +33,11 @@ spec:
3233
- ReadWriteOnce
3334
resources:
3435
requests:
35-
storage: 200Gi <1>
36+
storage: 200Gi
3637
volumeMode: Filesystem
3738
----
38-
<1> The amount of storage available to the PVC. Adjust this value for your requirements.
39+
+
40+
Adjust the `storage` value for your requirements.
3941
+
4042
.. Apply the PVC by running the following command:
4143
+
@@ -73,9 +75,10 @@ metadata:
7375
name: etcd-single-backup
7476
namespace: openshift-etcd
7577
spec:
76-
pvcName: etcd-backup-pvc <1>
78+
pvcName: etcd-backup-pvc
7779
----
78-
<1> The name of the PVC to save the backup to. Adjust this value according to your environment.
80+
+
81+
Adjust the `pvcName` value according to your environment.
7982
+
8083
.. Apply the CR to start a single backup:
8184
+
@@ -115,7 +118,7 @@ metadata:
115118
name: etcd-backup-pv-fs
116119
spec:
117120
capacity:
118-
storage: 100Gi <1>
121+
storage: 100Gi
119122
volumeMode: Filesystem
120123
accessModes:
121124
- ReadWriteOnce
@@ -130,10 +133,15 @@ spec:
130133
- key: kubernetes.io/hostname
131134
operator: In
132135
values:
133-
- <example_master_node> <2>
136+
- <example_master_node>
134137
----
135-
<1> The amount of storage available to the PV. Adjust this value for your requirements.
136-
<2> Replace this value with the node to attach this PV to.
138+
+
139+
where:
140+
+
141+
--
142+
`100Gi`:: Specifies the amount of storage available to the PV. Adjust this value for your requirements.
143+
`<example_master_node>`:: Specifies the node to attach this PV to.
144+
--
137145
+
138146
.. Verify the creation of the PV by running the following command:
139147
+
@@ -164,9 +172,10 @@ spec:
164172
volumeMode: Filesystem
165173
resources:
166174
requests:
167-
storage: 10Gi <1>
175+
storage: 10Gi
168176
----
169-
<1> The amount of storage available to the PVC. Adjust this value for your requirements.
177+
+
178+
Adjust the `storage` value for your requirements.
170179
+
171180
.. Apply the PVC by running the following command:
172181
+
@@ -185,9 +194,10 @@ metadata:
185194
name: etcd-single-backup
186195
namespace: openshift-etcd
187196
spec:
188-
pvcName: etcd-backup-pvc <1>
197+
pvcName: etcd-backup-pvc
189198
----
190-
<1> The name of the persistent volume claim (PVC) to save the backup to. Adjust this value according to your environment.
199+
+
200+
Adjust the `pvcName` value according to your environment.
191201
+
192202
.. Apply the CR to start a single backup:
193203
+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * edge_computing/day_2_core_cnf_clusters/updating/update-before-the-update.adoc
4+
5+
:_mod-docs-content-type: CONCEPT
6+
[id="update-backup-etcd-database-before-update_{context}"]
7+
= Backup the etcd database before you proceed with the update
8+
9+
[role="_abstract"]
10+
You must backup the etcd database before you proceed with the update.

modules/update-pause-worker-nodes-before-the-update.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ master false
4141
mcp-1 true
4242
mcp-2 true
4343
----
44-
44+
+
4545
[NOTE]
4646
====
4747
The default control plane and worker `mcp` groups are not changed during an update.

post_installation_configuration/day_2_core_cnf_clusters/updating/update-before-the-update.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ Before you start the cluster update, you must pause worker nodes, back up the et
1111

1212
include::modules/update-pause-worker-nodes-before-the-update.adoc[leveloffset=+1]
1313

14-
[id="update-backup-etcd-database-before-update_{context}"]
15-
== Backup the etcd database before you proceed with the update
16-
17-
You must backup the etcd database before you proceed with the update.
14+
include::modules/update-backup-etcd-database-before-update.adoc[leveloffset=+1]
1815

1916
include::modules/backup-etcd.adoc[leveloffset=+2]
2017

0 commit comments

Comments
 (0)