Skip to content

Commit 2b1af69

Browse files
committed
OADP-4357: AWS plugin required for all S3 storage
Signed-off-by: A.Arnold <[email protected]>
1 parent d758c5a commit 2b1af69

File tree

2 files changed

+52
-51
lines changed

2 files changed

+52
-51
lines changed

modules/oadp-installing-dpa-1-2-and-earlier.adoc

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ spec:
9393
credential:
9494
key: cloud
9595
name: {credentials} # <12>
96-
9796
----
9897
<1> The `openshift` plugin is mandatory.
9998
<2> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
@@ -234,39 +233,40 @@ spec:
234233
configuration:
235234
velero:
236235
defaultPlugins:
237-
- aws
238-
- openshift # <1>
239-
resourceTimeout: 10m # <2>
236+
- aws # <1>
237+
- openshift # <2>
238+
resourceTimeout: 10m # <3>
240239
restic:
241-
enable: true # <3>
240+
enable: true # <4>
242241
podConfig:
243-
nodeSelector: <node_selector> # <4>
242+
nodeSelector: <node_selector> # <5>
244243
backupLocations:
245244
- velero:
246245
config:
247246
profile: "default"
248-
region: <region_name> <5>
249-
s3Url: <url> # <6>
247+
region: <region_name> <6>
248+
s3Url: <url> # <7>
250249
insecureSkipTLSVerify: "true"
251250
s3ForcePathStyle: "true"
252251
provider: {provider}
253252
default: true
254253
credential:
255254
key: cloud
256-
name: {credentials} # <7>
255+
name: {credentials} # <8>
257256
objectStorage:
258-
bucket: <bucket_name> # <8>
259-
prefix: <prefix> # <9>
257+
bucket: <bucket_name> # <9>
258+
prefix: <prefix> # <10>
260259
----
261-
<1> The `openshift` plugin is mandatory.
262-
<2> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
263-
<3> Set this value to `false` if you want to disable the Restic installation. Restic deploys a daemon set, which means that Restic pods run on each working node. In OADP version 1.2 and later, you can configure Restic for backups by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR. In OADP version 1.1, add `spec.defaultVolumesToRestic: true` to the `Backup` CR.
264-
<4> Specify on which nodes Restic is available. By default, Restic runs on all nodes.
265-
<5> Specify the region, following the naming convention of the documentation of your object storage server.
266-
<6> Specify the URL of the S3 endpoint.
267-
<7> If you do not specify this value, the default name, `{credentials}`, is used. If you specify a custom name, the custom name is used for the backup location.
268-
<8> Specify a bucket as the backup storage location. If the bucket is not a dedicated bucket for Velero backups, you must specify a prefix.
269-
<9> Specify a prefix for Velero backups, for example, `velero`, if the bucket is used for multiple purposes.
260+
<1> An object store plugin corresponding to your storage locations is required. For all S3 providers, the required plugin is `aws`. For {azure-short} and {gcp-short} object stores, the `azure` or `gcp` plugin is required.
261+
<2> The `openshift` plugin is mandatory.
262+
<3> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
263+
<4> Set this value to `false` if you want to disable the Restic installation. Restic deploys a daemon set, which means that Restic pods run on each working node. In OADP version 1.2 and later, you can configure Restic for backups by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR. In OADP version 1.1, add `spec.defaultVolumesToRestic: true` to the `Backup` CR.
264+
<5> Specify on which nodes Restic is available. By default, Restic runs on all nodes.
265+
<6> Specify the region, following the naming convention of the documentation of your object storage server.
266+
<7> Specify the URL of the S3 endpoint.
267+
<8> If you do not specify this value, the default name, `{credentials}`, is used. If you specify a custom name, the custom name is used for the backup location.
268+
<9> Specify a bucket as the backup storage location. If the bucket is not a dedicated bucket for Velero backups, you must specify a prefix.
269+
<10> Specify a prefix for Velero backups, for example, `velero`, if the bucket is used for multiple purposes.
270270
endif::[]
271271
ifdef::installing-oadp-ocs[]
272272
+
@@ -281,8 +281,8 @@ spec:
281281
configuration:
282282
velero:
283283
defaultPlugins:
284-
- kubevirt # <1>
285-
- gcp # <2>
284+
- aws # <1>
285+
- kubevirt # <2>
286286
- csi # <3>
287287
- openshift # <4>
288288
resourceTimeout: 10m # <5>
@@ -301,8 +301,8 @@ spec:
301301
bucket: <bucket_name> # <10>
302302
prefix: <prefix> # <11>
303303
----
304-
<1> Optional: The `kubevirt` plugin is used with {VirtProductName}.
305-
<2> Specify the default plugin for the backup provider, for example, `gcp`, if appropriate.
304+
<1> An object store plugin corresponding to your storage locations is required. For all S3 providers, the required plugin is `aws`. For {azure-short} and {gcp-short} object stores, the `azure` or `gcp` plugin is required.
305+
<2> Optional: The `kubevirt` plugin is used with {VirtProductName}.
306306
<3> Specify the `csi` default plugin if you use CSI snapshots to back up PVs. The `csi` plugin uses the link:https://{velero-domain}/docs/main/csi/[Velero CSI beta snapshot APIs]. You do not need to configure a snapshot location.
307307
<4> The `openshift` plugin is mandatory.
308308
<5> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.

modules/oadp-installing-dpa-1-3.adoc

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -246,43 +246,44 @@ spec:
246246
configuration:
247247
velero:
248248
defaultPlugins:
249-
- aws
250-
- openshift # <2>
251-
resourceTimeout: 10m # <3>
252-
nodeAgent: # <4>
253-
enable: true # <5>
254-
uploaderType: kopia # <6>
249+
- aws # <2>
250+
- openshift # <3>
251+
resourceTimeout: 10m # <4>
252+
nodeAgent: # <5>
253+
enable: true # <6>
254+
uploaderType: kopia # <7>
255255
podConfig:
256-
nodeSelector: <node_selector> # <7>
256+
nodeSelector: <node_selector> # <8>
257257
backupLocations:
258258
- velero:
259259
config:
260260
profile: "default"
261-
region: <region_name> <8>
262-
s3Url: <url> # <9>
261+
region: <region_name> <9>
262+
s3Url: <url> # <10>
263263
insecureSkipTLSVerify: "true"
264264
s3ForcePathStyle: "true"
265265
provider: {provider}
266266
default: true
267267
credential:
268268
key: cloud
269-
name: {credentials} # <10>
269+
name: {credentials} # <11>
270270
objectStorage:
271-
bucket: <bucket_name> # <11>
272-
prefix: <prefix> # <12>
271+
bucket: <bucket_name> # <12>
272+
prefix: <prefix> # <13>
273273
----
274274
<1> The default namespace for OADP is `openshift-adp`. The namespace is a variable and is configurable.
275-
<2> The `openshift` plugin is mandatory.
276-
<3> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
277-
<4> The administrative agent that routes the administrative requests to servers.
278-
<5> Set this value to `true` if you want to enable `nodeAgent` and perform File System Backup.
279-
<6> Enter `kopia` or `restic` as your uploader. You cannot change the selection after the installation. For the Built-in DataMover you must use Kopia. The `nodeAgent` deploys a daemon set, which means that the `nodeAgent` pods run on each working node. You can configure File System Backup by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR.
280-
<7> Specify the nodes on which Kopia or Restic are available. By default, Kopia or Restic run on all nodes.
281-
<8> Specify the region, following the naming convention of the documentation of your object storage server.
282-
<9> Specify the URL of the S3 endpoint.
283-
<10> If you do not specify this value, the default name, `{credentials}`, is used. If you specify a custom name, the custom name is used for the backup location.
284-
<11> Specify a bucket as the backup storage location. If the bucket is not a dedicated bucket for Velero backups, you must specify a prefix.
285-
<12> Specify a prefix for Velero backups, for example, `velero`, if the bucket is used for multiple purposes.
275+
<2> An object store plugin corresponding to your storage locations is required. For all S3 providers, the required plugin is `aws`. For {azure-short} and {gcp-short} object stores, the `azure` or `gcp` plugin is required.
276+
<3> The `openshift` plugin is mandatory.
277+
<4> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
278+
<5> The administrative agent that routes the administrative requests to servers.
279+
<6> Set this value to `true` if you want to enable `nodeAgent` and perform File System Backup.
280+
<7> Enter `kopia` or `restic` as your uploader. You cannot change the selection after the installation. For the Built-in DataMover you must use Kopia. The `nodeAgent` deploys a daemon set, which means that the `nodeAgent` pods run on each working node. You can configure File System Backup by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR.
281+
<8> Specify the nodes on which Kopia or Restic are available. By default, Kopia or Restic run on all nodes.
282+
<9> Specify the region, following the naming convention of the documentation of your object storage server.
283+
<10> Specify the URL of the S3 endpoint.
284+
<11> Specify the name of the `Secret` object that you created. If you do not specify this value, the default name, `{credentials}`, is used. If you specify a custom name, the custom name is used for the backup location.
285+
<12> Specify a bucket as the backup storage location. If the bucket is not a dedicated bucket for Velero backups, you must specify a prefix.
286+
<13> Specify a prefix for Velero backups, for example, `velero`, if the bucket is used for multiple purposes.
286287
endif::[]
287288

288289
ifdef::installing-oadp-ocs[]
@@ -298,8 +299,8 @@ spec:
298299
configuration:
299300
velero:
300301
defaultPlugins:
301-
- kubevirt # <2>
302-
- gcp # <3>
302+
- aws # <2>
303+
- kubevirt # <3>
303304
- csi # <4>
304305
- openshift # <5>
305306
resourceTimeout: 10m # <6>
@@ -320,8 +321,8 @@ spec:
320321
prefix: <prefix> # <14>
321322
----
322323
<1> The default namespace for OADP is `openshift-adp`. The namespace is a variable and is configurable.
323-
<2> Optional: The `kubevirt` plugin is used with {VirtProductName}.
324-
<3> Specify the default plugin for the backup provider, for example, `gcp`, if appropriate.
324+
<2> An object store plugin corresponding to your storage locations is required. For all S3 providers, the required plugin is `aws`. For {azure-short} and {gcp-short} object stores, the `azure` or `gcp` plugin is required.
325+
<3> Optional: The `kubevirt` plugin is used with {VirtProductName}.
325326
<4> Specify the `csi` default plugin if you use CSI snapshots to back up PVs. The `csi` plugin uses the link:https://{velero-domain}/docs/main/csi/[Velero CSI beta snapshot APIs]. You do not need to configure a snapshot location.
326327
<5> The `openshift` plugin is mandatory.
327328
<6> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.

0 commit comments

Comments
 (0)