Skip to content

Commit 47ba422

Browse files
authored
Merge pull request #54123 from RichardHoch/api_footnote
Correctly adds resource requests/limits to Troubleshooting
2 parents 49b970f + 96670d3 commit 47ba422

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

backup_and_restore/application_backup_and_restore/troubleshooting.adoc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,29 @@ include::modules/velero-obtaining-by-accessing-binary.adoc[leveloffset=+1]
2626
include::modules/oadp-debugging-oc-cli.adoc[leveloffset=+1]
2727
include::modules/migration-debugging-velero-resources.adoc[leveloffset=+1]
2828

29+
30+
31+
[id="oadp-pod-crash-resource-request"]
32+
== Pods crash or restart due to lack of memory or CPU
33+
34+
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.
35+
36+
include::modules/oadp-pod-crash-set-resource-request-velero.adoc[leveloffset=+2]
37+
include::modules/oadp-pod-crash-set-resource-request-restic.adoc[leveloffset=+2]
38+
39+
[IMPORTANT]
40+
====
41+
The values for the resource request fields must follow the same format as Kubernetes resource requirements.
42+
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:
43+
44+
[source,yaml]
45+
----
46+
requests:
47+
cpu: 500m
48+
memory: 128Mi
49+
----
50+
====
51+
2952
[id="issues-with-velero-and-admission-workbooks"]
3053
== Issues with Velero and admission webhooks
3154

0 commit comments

Comments
 (0)