Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions modules/oadp-pod-crash-set-resource-request-restic.adoc
Original file line number Diff line number Diff line change
@@ -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
----
29 changes: 29 additions & 0 deletions modules/oadp-pod-crash-set-resource-request-velero.adoc
Original file line number Diff line number Diff line change
@@ -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
----