@@ -84,9 +84,9 @@ metadata:
84
84
name: etcd-single-backup
85
85
namespace: openshift-etcd
86
86
spec:
87
- pvcName: etcd-backup-pvc <. >
87
+ pvcName: etcd-backup-pvc <1 >
88
88
----
89
- <. > The name of the persistent volume claim (PVC) to save the backup to. Adjust this value according to your environment.
89
+ <1 > The name of the persistent volume claim (PVC) to save the backup to. Adjust this value according to your environment.
90
90
91
91
. Apply the CR to start a single backup:
92
92
+
@@ -125,12 +125,12 @@ spec:
125
125
- ReadWriteOnce
126
126
resources:
127
127
requests:
128
- storage: 200Gi <. >
129
- storageClassName: standard-csi <. >
128
+ storage: 200Gi <1 >
129
+ storageClassName: standard-csi <2 >
130
130
volumeMode: Filesystem
131
131
----
132
- <. > The amount of storage available to the PVC. Adjust this value for your requirements.
133
- <. > The name of the `StorageClass` required by the claim. Adjust this value according to your environment.
132
+ <1 > The amount of storage available to the PVC. Adjust this value for your requirements.
133
+ <2 > The name of the `StorageClass` required by the claim. Adjust this value according to your environment.
134
134
+
135
135
[NOTE]
136
136
====
@@ -216,7 +216,7 @@ metadata:
216
216
name: etcd-backup-pv-fs
217
217
spec:
218
218
capacity:
219
- storage: 100Gi <. >
219
+ storage: 100Gi <1 >
220
220
volumeMode: Filesystem
221
221
accessModes:
222
222
- ReadWriteMany
@@ -231,10 +231,10 @@ spec:
231
231
- key: kubernetes.io/hostname
232
232
operator: In
233
233
values:
234
- - <example-master-node> <. >
234
+ - <example-master-node> <2 >
235
235
----
236
- <. > The amount of storage available to the PV. Adjust this value for your requirements.
237
- <. > Replace this value with the node to attach this PV to.
236
+ <1 > The amount of storage available to the PV. Adjust this value for your requirements.
237
+ <2 > Replace this value with the node to attach this PV to.
238
238
+
239
239
[TIP]
240
240
====
@@ -274,10 +274,10 @@ spec:
274
274
volumeMode: Filesystem
275
275
resources:
276
276
requests:
277
- storage: 10Gi <. >
277
+ storage: 10Gi <1 >
278
278
storageClassName: local-storage
279
279
----
280
- <. > The amount of storage available to the PVC. Adjust this value for your requirements.
280
+ <1 > The amount of storage available to the PVC. Adjust this value for your requirements.
281
281
282
282
.. Apply the PVC by running the following command:
283
283
+
@@ -298,11 +298,11 @@ metadata:
298
298
name: etcd-recurring-backup
299
299
spec:
300
300
etcd:
301
- schedule: "20 4 * * *" <. >
301
+ schedule: "20 4 * * *" <1 >
302
302
timeZone: "UTC"
303
303
pvcName: etcd-backup-pvc
304
304
----
305
- <. > The `CronTab` schedule for recurring backups. Adjust this value for your needs.
305
+ <1 > The `CronTab` schedule for recurring backups. Adjust this value for your needs.
306
306
+
307
307
To use retention based on the maximum number of backups, add the following key-value pairs to the `etcd` key:
308
308
+
@@ -311,12 +311,12 @@ To use retention based on the maximum number of backups, add the following key-v
311
311
spec:
312
312
etcd:
313
313
retentionPolicy:
314
- retentionType: RetentionNumber <. >
314
+ retentionType: RetentionNumber <1 >
315
315
retentionNumber:
316
- maxNumberOfBackups: 5 <. >
316
+ maxNumberOfBackups: 5 <2 >
317
317
----
318
- <. > The retention type. Defaults to `RetentionNumber` if unspecified.
319
- <. > The maximum number of backups to retain. Adjust this value for your needs. Defaults to 15 backups if unspecified.
318
+ <1 > The retention type. Defaults to `RetentionNumber` if unspecified.
319
+ <2 > The maximum number of backups to retain. Adjust this value for your needs. Defaults to 15 backups if unspecified.
320
320
+
321
321
[WARNING]
322
322
====
@@ -332,9 +332,9 @@ spec:
332
332
retentionPolicy:
333
333
retentionType: RetentionSize
334
334
retentionSize:
335
- maxSizeOfBackupsGb: 20 <. >
335
+ maxSizeOfBackupsGb: 20 <1 >
336
336
----
337
- <. > The maximum file size of the retained backups in gigabytes. Adjust this value for your needs. Defaults to 10 GB if unspecified.
337
+ <1 > The maximum file size of the retained backups in gigabytes. Adjust this value for your needs. Defaults to 10 GB if unspecified.
338
338
+
339
339
[WARNING]
340
340
====
0 commit comments