mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
31 lines
910 B
Plaintext
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. |