Skip to content

Commit 24e176b

Browse files
authored
Merge pull request #80039 from shdeshpa07/OADP-2493-disableNodeAgent-newPR
2 parents 020c3e7 + bab3b68 commit 24e176b

File tree

6 files changed

+55
-0
lines changed

6 files changed

+55
-0
lines changed

backup_and_restore/application_backup_and_restore/installing/installing-oadp-aws.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ include::modules/oadp-self-signed-certificate.adoc[leveloffset=+2]
3737
include::modules/oadp-installing-dpa-1-2-and-earlier.adoc[leveloffset=+1]
3838
include::modules/oadp-installing-dpa-1-3.adoc[leveloffset=+1]
3939
include::modules/oadp-enabling-csi-dpa.adoc[leveloffset=+2]
40+
include::modules/oadp-about-disable-node-agent-dpa.adoc[leveloffset=+2]
4041

4142
[role="_additional-resources"]
4243
.Additional resources
4344

4445
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-kubevirt.adoc#oadp-installing-dpa-1-3_installing-oadp-kubevirt[Installing the Data Protection Application with the `kubevirt` and `openshift` plugins]
46+
* xref:../../../nodes/jobs/nodes-nodes-jobs.adoc#nodes-nodes-jobs[Running tasks in pods using jobs].
4547

4648
:!installing-oadp-aws:

backup_and_restore/application_backup_and_restore/installing/installing-oadp-azure.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ include::modules/oadp-self-signed-certificate.adoc[leveloffset=+2]
3434
include::modules/oadp-installing-dpa-1-2-and-earlier.adoc[leveloffset=+1]
3535
include::modules/oadp-installing-dpa-1-3.adoc[leveloffset=+1]
3636
include::modules/oadp-enabling-csi-dpa.adoc[leveloffset=+2]
37+
include::modules/oadp-about-disable-node-agent-dpa.adoc[leveloffset=+2]
3738

3839
[role="_additional-resources"]
3940
.Additional resources
4041

4142
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-kubevirt.adoc#oadp-installing-dpa-1-3_installing-oadp-kubevirt[Installing the Data Protection Application with the `kubevirt` and `openshift` plugins]
43+
* xref:../../../nodes/jobs/nodes-nodes-jobs.adoc#nodes-nodes-jobs[Running tasks in pods using jobs].
4244

4345
:installing-oadp-azure!:

backup_and_restore/application_backup_and_restore/installing/installing-oadp-gcp.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ include::modules/oadp-installing-dpa-1-2-and-earlier.adoc[leveloffset=+1]
3535
include::modules/oadp-gcp-wif-cloud-authentication.adoc[leveloffset=+1]
3636
include::modules/oadp-installing-dpa-1-3.adoc[leveloffset=+1]
3737
include::modules/oadp-enabling-csi-dpa.adoc[leveloffset=+2]
38+
include::modules/oadp-about-disable-node-agent-dpa.adoc[leveloffset=+2]
3839

3940
[role="_additional-resources"]
4041
.Additional resources
4142

4243
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-kubevirt.adoc#oadp-installing-dpa-1-3_installing-oadp-kubevirt[Installing the Data Protection Application with the `kubevirt` and `openshift` plugins]
44+
* xref:../../../nodes/jobs/nodes-nodes-jobs.adoc#nodes-nodes-jobs[Running tasks in pods using jobs].
4345

4446
:installing-oadp-gcp!:

backup_and_restore/application_backup_and_restore/installing/installing-oadp-mcg.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ include::modules/oadp-self-signed-certificate.adoc[leveloffset=+2]
4141
include::modules/oadp-installing-dpa-1-2-and-earlier.adoc[leveloffset=+1]
4242
include::modules/oadp-installing-dpa-1-3.adoc[leveloffset=+1]
4343
include::modules/oadp-enabling-csi-dpa.adoc[leveloffset=+2]
44+
include::modules/oadp-about-disable-node-agent-dpa.adoc[leveloffset=+2]
4445

4546
[discrete]
4647
[role="_additional-resources"]
@@ -49,5 +50,6 @@ include::modules/oadp-enabling-csi-dpa.adoc[leveloffset=+2]
4950
* link:https://access.redhat.com/solutions/6719951[Performance tuning guide for Multicloud Object Gateway].
5051

5152
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-kubevirt.adoc#oadp-installing-dpa-1-3_installing-oadp-kubevirt[Installing the Data Protection Application with the `kubevirt` and `openshift` plugins]
53+
* xref:../../../nodes/jobs/nodes-nodes-jobs.adoc#nodes-nodes-jobs[Running tasks in pods using jobs].
5254

5355
:installing-oadp-mcg!:

backup_and_restore/application_backup_and_restore/installing/installing-oadp-ocs.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,12 @@ include::modules/oadp-installing-dpa-1-2-and-earlier.adoc[leveloffset=+1]
4545
include::modules/oadp-installing-dpa-1-3.adoc[leveloffset=+1]
4646
include::modules/oadp-creating-object-bucket-claim.adoc[leveloffset=+2]
4747
include::modules/oadp-enabling-csi-dpa.adoc[leveloffset=+2]
48+
include::modules/oadp-about-disable-node-agent-dpa.adoc[leveloffset=+2]
4849

4950
[role="_additional-resources"]
5051
.Additional resources
5152

5253
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-kubevirt.adoc#oadp-installing-dpa-1-3_installing-oadp-kubevirt[Installing the Data Protection Application with the `kubevirt` and `openshift` plugins]
54+
* xref:../../../nodes/jobs/nodes-nodes-jobs.adoc#nodes-nodes-jobs[Running tasks in pods using jobs].
5355

5456
:installing-oadp-ocs!:
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-aws.adoc
4+
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-azure.adoc
5+
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-gcp.adoc
6+
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-mcg.adoc
7+
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-ocs.adoc
8+
9+
:_mod-docs-content-type: PROCEDURE
10+
[id="oadp-about-disable-node-agent-dpa_{context}"]
11+
= Disabling the node agent in DataProtectionApplication
12+
13+
If you are not using `Restic`, `Kopia`, or `DataMover` for your backups, you can disable the `nodeAgent` field in the `DataProtectionApplication` custom resource (CR). Before you disable `nodeAgent`, ensure the {oadp-short} Operator is idle and not running any backups.
14+
15+
.Procedure
16+
17+
. To disable the `nodeAgent`, set the `enable` flag to `false`. See the following example:
18+
+
19+
.Example `DataProtectionApplication` CR
20+
[source, yaml]
21+
----
22+
# ...
23+
configuration:
24+
nodeAgent:
25+
enable: false # <1>
26+
uploaderType: kopia
27+
# ...
28+
----
29+
<1> Disables the node agent.
30+
31+
. To enable the `nodeAgent`, set the `enable` flag to `true`. See the following example:
32+
+
33+
.Example `DataProtectionApplication` CR
34+
[source, yaml]
35+
----
36+
# ...
37+
configuration:
38+
nodeAgent:
39+
enable: true # <1>
40+
uploaderType: kopia
41+
# ...
42+
----
43+
<1> Enables the node agent.
44+
45+
You can set up a job to enable and disable the `nodeAgent` field in the `DataProtectionApplication` CR. For more information, see "Running tasks in pods using jobs".

0 commit comments

Comments
 (0)