Kasten on Microk8s

Hi everyone, I’m trying to use Kasten on my Microk8s 1.26 cluster.

Installation was fine, but seems like the hostpath csi plugin lack the capability to create snapshots.

Trying to apply this configuration:

apiVersion: snapshot.storage.k8s.io/v1beta1
driver: microk8s.io/hostpath
kind: VolumeSnapshotClass
k10.kasten.io/is-snapshot-class: “true”
name: csi-hostpath-snapclass

Error I get:

error: resource mapping not found for name: “csi-hostpath-snapclass” namespace: “” from “kasten-volumesnapshotclass.yml”: no matches for kind “VolumeSnapshotClass” in version “snapshot.storage.k8s.io/v1beta1
ensure CRDs are installed first

There is no CRD of kind VolumeSnapshotClass in the cluster, I already have the hostpath addon enabled.

Any advise would be appreciated. Thanks!

Are you following any instructions for this?

Yes, the standard Kasten install instructions. There it’s very clearly stated that the CSI drives needs to support snapshots.