1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/oadp-pod-crash-set-resource-request-velero.adoc
Shruti Deshpande eeb15a1127 DITA fixes for OADP troubleshooting
Signed-off-by: Shruti Deshpande <shdeshpa@redhat.com>
2025-09-04 10:04:30 +00:00

31 lines
910 B
Plaintext

// Module included in the following assemblies:
//
// * backup_and_restore/application_backup_and_restore/troubleshooting/pods-crash-or-restart-due-to-lack-of-memory-or-cpu.adoc
//
:_mod-docs-content-type: PROCEDURE
[id="oadp-pod-crash-resource-request-velero_{context}"]
= Setting resource requests for a Velero pod
[role="_abstract"]
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: <1>
requests:
cpu: 200m
memory: 256Mi
----
<1> The `resourceAllocations` listed are for average usage.