You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem/challenge you have
I am trying to exclude volumes of type ephemeral from being backed up in my Velero backups. However, there is currently no direct way to specify that volumes of type ephemeral should be skipped during the backup process. These ephemeral volumes are not needed in our backup and recovery processes, and excluding them would improve backup speed and reduce storage costs.
Here is a sample pod spec that includes such an ephemeral volume:
Describe the solution you'd like
I would like Velero to provide an option or resource policy to exclude volumes of kind ephemeral from backups, as they do not need to be backed up.
Anything else you would like to add:
This feature would be helpful in use cases where ephemeral volumes are created for temporary storage, logs, or cache that do not need to persist between pod restarts or cluster restarts.
Environment:
Velero version (use velero version): 1.15.2
Kubernetes version (use kubectl version): 1.30
Kubernetes installer & version:
Cloud provider or hardware configuration: AWS EKS
OS (e.g. from /etc/os-release):
Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
👍 for "The project would be better with this feature added"
👎 for "This feature will not enhance the project in a meaningful way"
The text was updated successfully, but these errors were encountered:
# currently only supports v1 version
version: v1
volumePolicies:
- conditions:
volumeTypes:
- ephemeral
action:
type: skip
@msfrucht, I’ve tried using this method and also attempted to annotate my PVs and PVCs with velero.io/exclude-from-backup=true, as suggested by @sseago in this discussion: #8619 (reply in thread). I upgraded to version 1.15.2, but the PVs are still being backed up. When I check the logs, there’s no indication of excluding the backup of PVs or PVCs. I’m creating backups using the velero backup create <backup-name> --include-namespaces <namespace> command.
Describe the problem/challenge you have
I am trying to exclude volumes of type
ephemeral
from being backed up in my Velero backups. However, there is currently no direct way to specify that volumes of typeephemeral
should be skipped during the backup process. These ephemeral volumes are not needed in our backup and recovery processes, and excluding them would improve backup speed and reduce storage costs.Here is a sample pod spec that includes such an ephemeral volume:
Describe the solution you'd like
I would like Velero to provide an option or resource policy to exclude volumes of kind
ephemeral
from backups, as they do not need to be backed up.Anything else you would like to add:
This feature would be helpful in use cases where ephemeral volumes are created for temporary storage, logs, or cache that do not need to persist between pod restarts or cluster restarts.
Environment:
velero version
): 1.15.2kubectl version
): 1.30/etc/os-release
):Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: