velero backup describe <BACKUP_NAME> against the failed backup shows "Phase: Failed" with no events velero backup logs <BACKUP_NAME> returns: "An error occurred: file not found"kubectl describe pod velero-<UNIQUE_POD_id> -n velero shows the pod running, but the following is shown:Last State: Terminated Reason: OOMKilled Exit Code: 137Last State: Terminated
Reason: OOMKilled
Exit Code: 137TKG
TKGm
TKGS
VKS
This condition occurs because Velero pods and the node-agents have insufficient memory to satisfy the backup demands.
Memory limits on the Velero pods are reached, causing the vmkernel to OOMkill the pod or daemon set.
Modify the Velero deployment and node-agent daemonset to increase the memory limit.
See the example below for guidance:
kubectl edit deployment velero -n velero
Example:
Limits: cpu: 1 memory: 512Mi Requests: cpu: 500m memory: 128Mi
Change to:
Limits: cpu: 1 memory: 1Gi Requests: cpu: 500m memory: 128Mi
The limit will be workload dependent and may required more or less than what is suggested in the example.
Monitor and test workloads to identify the necessary memory allocation for successful backup operations.
NOTE: Modifying the memory limit will cause a re-rollout for the Velero deployment.
Alternative backup methods may also be utilized to reduce the impact of the high resource utilization of FSB.
See the following documentation for Velero CSI-Snapshots:
Backup and Restore Using Velero with CSI Snapshot