diff --git a/backup_and_restore/application_backup_and_restore/troubleshooting.adoc b/backup_and_restore/application_backup_and_restore/troubleshooting.adoc index 1851e8cc54..41b79da464 100644 --- a/backup_and_restore/application_backup_and_restore/troubleshooting.adoc +++ b/backup_and_restore/application_backup_and_restore/troubleshooting.adoc @@ -26,6 +26,29 @@ include::modules/velero-obtaining-by-accessing-binary.adoc[leveloffset=+1] include::modules/oadp-debugging-oc-cli.adoc[leveloffset=+1] include::modules/migration-debugging-velero-resources.adoc[leveloffset=+1] + + +[id="oadp-pod-crash-resource-request"] +== Pods crash or restart due to lack of memory or CPU + +If a Velero or Restic pod crashes due to a lack of memory or CPU, you can set specific resource requests for either of those resources. + +include::modules/oadp-pod-crash-set-resource-request-velero.adoc[leveloffset=+2] +include::modules/oadp-pod-crash-set-resource-request-restic.adoc[leveloffset=+2] + +[IMPORTANT] +==== +The values for the resource request fields must follow the same format as Kubernetes resource requirements. +Also, if you do not specify `configuration.velero.podConfig.resourceAllocations` or `configuration.restic.podConfig.resourceAllocations`, the default `resources` specification for a Velero pod or a Restic pod is as follows: + +[source,yaml] +---- +requests: + cpu: 500m + memory: 128Mi +---- +==== + [id="issues-with-velero-and-admission-workbooks"] == Issues with Velero and admission webhooks