This error details as below when running following command for CS backup
kubectl create job -n apigee --from=cronjob/apigee-cassandra-backup cs-backup
cs-backup pod goes to crashloopbackoff and error and after some time does not show up in kubectl get pod with required namespace
When running following command
kubectl logs cs-backup-123 -n apigee
error: resource mapping not found for name: "xxxxx-snapshot" namespace: "" from "/opt/xxxx/.cassandra/snapshot-class.yaml": no matches for kind "VolumeSnapshotClass" in version "snapshot.storage.k8s.io/v1beta1" ensure CRDs are installed first
Failed to apply snapshot class configuration : error code 0
# Template class for Hybrid CSI snapshots
apiVersion: snapshot.storage.k8s.io/v1beta1
kind: VolumeSnapshotClass
metadata:
name: xxxxx-snapshot
driver: xxx.csi.aws.com
deletionPolicy: Delete
Solved! Go to Solution.
What output do the following commands show?
kubectl get pv
kubectl get sc
kubectl get pvc -n apigee -o json
What output do the following commands show?
kubectl get pv
kubectl get sc
kubectl get pvc -n apigee -o json
Hi,
I have a similar error. What was the issue?