diff --git a/modules/oadp-pod-crash-set-resource-request-restic.adoc b/modules/oadp-pod-crash-set-resource-request-restic.adoc new file mode 100644 index 000000000000..94043e3463d8 --- /dev/null +++ b/modules/oadp-pod-crash-set-resource-request-restic.adoc @@ -0,0 +1,29 @@ +// Module included in the following assemblies: +// +// * backup_and_restore/application_backup_and_restore/troubleshooting.adoc + +:_content-type: PROCEDURE +[id="oadp-pod-crash-resource-request-retics_{context}"] += Setting resource requests for a Restic pod + +You can use the `configuration.restic.podConfig.resourceAllocations` specification field to set specific resource requests for a `Restic` pod. + +.Procedure + +* Set the `cpu` and `memory` resource requests in the YAML file: ++ +.Example Restic file + +[source,yaml] +---- +apiVersion: oadp.openshift.io/v1alpha1 +kind: DataProtectionApplication +... +configuration: + restic: + podConfig: + resourceAllocations: + requests: + cpu: 500m + memory: 256Mi +---- diff --git a/modules/oadp-pod-crash-set-resource-request-velero.adoc b/modules/oadp-pod-crash-set-resource-request-velero.adoc new file mode 100644 index 000000000000..23d8427e4106 --- /dev/null +++ b/modules/oadp-pod-crash-set-resource-request-velero.adoc @@ -0,0 +1,29 @@ +// Module included in the following assemblies: +// +// * backup_and_restore/application_backup_and_restore/troubleshooting.adoc + +:_content-type: PROCEDURE +[id="oadp-pod-crash-resource-request-velero_{context}"] += Setting resource requests for a Velero pod + +You can use the `configuration.velero.podConfig.resourceAllocations` specification field in the `oadp_v1alpha1_dpa.yaml` file to set specific resource requests for a `Velero` pod. + +.Procedure + +* Set the `cpu` and `memory` resource requests in the YAML file: ++ +.Example Velero file + +[source,yaml] +---- +apiVersion: oadp.openshift.io/v1alpha1 +kind: DataProtectionApplication +... +configuration: + velero: + podConfig: + resourceAllocations: + requests: + cpu: 500m + memory: 256Mi +----