#10599·velero

支持 VolumeGroupSnapshot v1 API

作者: PrasadJoshi12创建于 2026年9月28日更新于 2026年9月28日

What steps did you take and what happened:

VolumeGroupSnapshots graduated to General Availability in Kubernetes v1.36, promoting the API to groupsnapshot.storage.k8s.io/v1. Velero’s current VGS implementation explicitly uses v1beta2 types and scheme registration. It therefore fails on clusters whose group-snapshot CRDs serve only v1. We should add support for the GA API and determine whether the target release can require v1 or must retain compatibility with v1beta2-only clusters. Reference: Kubernetes v1.36: Moving Volume Group Snapshots to GA (https://Kubernetes.io/blog/2026/05/08/Kubernetes-v1-36-volume-group-snapshot-ga/)

Steps to reproduce

  1. Use a cluster where all three group-snapshot CRDs serve only v1.
  2. Configure a CSI driver supporting group snapshots and a matching VolumeGroupSnapshotClass with the required Velero selection label.
  3. Create a backup with spec.volumeGroupSnapshotLabelKey and matching PVC labels.
  4. Run the backup using Velero’s current v1beta2 implementation.

内容来源: velero-io/velero