piraeus
piraeus copied to clipboard
Snapshotter not workin with Kubernetes 1.17
The snapshotter container is complaining:
E0207 08:43:45.373919 1 reflector.go:270] github.com/kubernetes-csi/external-snapshotter/pkg/client/informers/externalversions/factory.go:117: Failed to watch *v1alpha1.VolumeSnapshot: unknown (get volumesnapshots.snapshot.storage.k8s.io)
E0207 08:43:45.395867 1 reflector.go:126] github.com/kubernetes-csi/external-snapshotter/pkg/client/informers/externalversions/factory.go:117: Failed to list *v1alpha1.VolumeSnapshotClass: volumesnapshotclasses.snapshot.storage.k8s.io is forbidden: User "system:serviceaccount:kube-system:piraeus-csi-controller-sa" cannot list resource "volumesnapshotclasses" in API group "snapshot.storage.k8s.io" at the cluster scope
The CRDs for the snapshotter are missing. As of Kubernetes 1.17 this should be v1beta1. But may be the Alpha can be used as well if the get installed. I think the CRDs for the snapshotter should get installed with piraeus.
I'm still using linstor-csi 1.6. Just checked with dev, should move to spec 1.7. I'll test and update.