vmware-tanzu / velero

Backup and migrate Kubernetes applications and their persistent volumes
https://velero.io
Apache License 2.0
8.63k stars 1.39k forks source link

Volume Policy -- add more logs when a volume is skipped #7774

Open Lyndon-Li opened 4 months ago

Lyndon-Li commented 4 months ago

When a volume is skipped due to volume policy, we cannot see the exact reason but a general log as below: skipping snapshot action for pv xxx possibly due to not satisfying the volume policy criteria or snapshotVolumes is not true

Since the volume policy is already complex and will get more complex in future, it is better we can show the exact criteria by which the volume is skipped.

blackpiglet commented 4 months ago

Could we close this issue? The volume policy implementation was updated.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. If a Velero team member has requested log or more information, please provide the output of the shared commands.