mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
58 lines
1.9 KiB
Plaintext
58 lines
1.9 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * backup_and_restore/application_backup_and_restore/installing/overriding-kopia-algorithms.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="oadp-kopia-configuring-algorithms_{context}"]
|
|
= Configuring the DPA to override Kopia hashing, encryption, and splitter algorithms
|
|
|
|
[role="_abstract"]
|
|
You can use an {oadp-first} option to override the default Kopia algorithms for hashing, encryption, and splitter to improve Kopia performance or to compare performance metrics. You can set the following environment variables in the `spec.configuration.velero.podConfig.env` section of the DPA:
|
|
|
|
* `KOPIA_HASHING_ALGORITHM`
|
|
* `KOPIA_ENCRYPTION_ALGORITHM`
|
|
* `KOPIA_SPLITTER_ALGORITHM`
|
|
|
|
.Prerequisites
|
|
|
|
* You have installed the {oadp-short} Operator.
|
|
* You have created the secret by using the credentials provided by the cloud provider.
|
|
|
|
include::snippets/kopia-repo-config.adoc[]
|
|
|
|
.Procedure
|
|
|
|
* Configure the DPA with the environment variables for hashing, encryption, and splitter as shown in the following example.
|
|
+
|
|
.Example DPA
|
|
[source,yaml]
|
|
----
|
|
apiVersion: oadp.openshift.io/v1alpha1
|
|
kind: DataProtectionApplication
|
|
#...
|
|
configuration:
|
|
nodeAgent:
|
|
enable: true # <1>
|
|
uploaderType: kopia # <2>
|
|
velero:
|
|
defaultPlugins:
|
|
- openshift
|
|
- aws
|
|
- csi #<3>
|
|
defaultSnapshotMoveData: true
|
|
podConfig:
|
|
env:
|
|
- name: KOPIA_HASHING_ALGORITHM
|
|
value: <hashing_algorithm_name> # <4>
|
|
- name: KOPIA_ENCRYPTION_ALGORITHM
|
|
value: <encryption_algorithm_name> # <5>
|
|
- name: KOPIA_SPLITTER_ALGORITHM
|
|
value: <splitter_algorithm_name> # <6>
|
|
----
|
|
<1> Enable the `nodeAgent`.
|
|
<2> Specify the `uploaderType` as `kopia`.
|
|
<3> Include the `csi` plugin.
|
|
<4> Specify a hashing algorithm. For example, `BLAKE3-256`.
|
|
<5> Specify an encryption algorithm. For example, `CHACHA20-POLY1305-HMAC-SHA256`.
|
|
<6> Specify a splitter algorithm. For example, `DYNAMIC-8M-RABINKARP`.
|