velero: error fetching v1beta1 version of volumesnapshotclasses.snapshot.storage.k8s.io
Using Kubernetes v1.22.1 and the latest version of Velero v1.6.3 and helm chart version v2.23.6 gives me the following error on backups:
error executing custom action (groupResource=customresourcedefinitions.apiextensions.k8s.io, namespace=, name=volumesnapshots.snapshot.storage.k8s.io): rpc error: code = Unknown desc = error fetching v1beta1 version of volumesnapshots.snapshot.storage.k8s.io: the server could not find the requested resource" error.file="/go/src/github.com/vmware-tanzu/velero/pkg/backup/item_backupper.go:331" error.function="github.com/vmware-tanzu/velero/pkg/backup.(*itemBackupper).executeActions" logSource="pkg/backup/backup.go:431" name=volumesnapshots.snapshot.storage.k8s.io
I’ve also gotten other related errors for other apps such as:
error executing custom action (groupResource=customresourcedefinitions.apiextensions.k8s.io, namespace=, name=pgclusters.crunchydata.com): rpc error: code = Unknown desc = error fetching v1beta1 version of pgclusters.crunchydata.com: the server could not find the requested resource" error.file="/go/src/github.com/vmware-tanzu/velero/pkg/backup/item_backupper.go:331" error.function="github.com/vmware-tanzu/velero/pkg/backup.(*itemBackupper).executeActions" logSource="pkg/backup/backup.go:431" name=pgclusters.crunchydata.com
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (3 by maintainers)
Well, it does like them, but not on Kubernetes 1.22, since v1beta1 is removed in that version.