-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restic Backup: Add check if Pod is successful or failed for emptyDir.… #3993
Conversation
…ix #3812 Signed-off-by: mahaupt <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but since it's a bug fix, it will need a changelog file.
Signed-off-by: mahaupt <[email protected]>
I just added the missing changelog file |
vmware-tanzu#3993) * Restic Backup: Add check if Pod is successful or failed for emptyDir. Fix vmware-tanzu#3812 * Add changelog Signed-off-by: mahaupt <[email protected]>
my pods are running for openshift all namespace still its give issue for only pod's which has emptyDir its not failing but its stuck like never ending backup |
Check if the velero pod has enough resources and is not running out of memory |
yes restic memory limit is 2gi and request 500mi while installing i am passing --velero-pod-cpu-limit 1500m --velero-pod-cpu-request 700m --velero-pod-mem-limit 2Gi --velero-pod-mem-request 500Mi --restic-pod-cpu-limit 1500m --restic-pod-cpu-request 500m --restic-pod-mem-limit 2Gi --restic-pod-mem-request 500Mi --default-volumes-to-restic see full logs #5113 |
Summary
I added a check to exclude restic backups for emptyDirs on stopped but unremoved pods (successful / failed).
Emptydirs are only guaranteed to persist on running / crashing pods.
https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase
Please let me know if I shall add a changelog / documentation for this small bugfix.
Does your change fix a particular issue?
Fixes #3812
Please indicate you've done the following:
/kind changelog-not-required
.site/content/docs/main
.