# Kasten on Microk8s

**URL:** <https://discuss.kubernetes.io/t/kasten-on-microk8s/22883>\
**Category:** microk8s\
**Created:** [January 30, 2023, 2:21pm UTC](https://discuss.kubernetes.io/t/kasten-on-microk8s/22883 "2023-01-30T14:21:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriel\_Passadore](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/gabriel_passadore/32/10175_2.png) [@Gabriel\_Passadore](https://discuss.kubernetes.io/u/Gabriel_Passadore)\
**Post date:** [January 30, 2023, 2:21pm UTC](https://discuss.kubernetes.io/t/kasten-on-microk8s/22883/1 "2023-01-30T14:21:24Z")

</div>

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](http://snapshot.storage.k8s.io/v1beta1)  
driver: [microk8s.io/hostpath](http://microk8s.io/hostpath)  
kind: VolumeSnapshotClass  
metadata:  
annotations:  
[k10.kasten.io/is-snapshot-class:](http://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](http://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!

---

<div class="post-metadata">

**Author:** ![kjackal](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/kjackal/32/1750_2.png) [@kjackal](https://discuss.kubernetes.io/u/kjackal)\
**Post date:** [January 31, 2023, 2:32pm UTC](https://discuss.kubernetes.io/t/kasten-on-microk8s/22883/2 "2023-01-31T14:32:10Z")

</div>

Are you following any instructions for this?

---

<div class="post-metadata">

**Author:** ![Gabriel\_Passadore](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/gabriel_passadore/32/10175_2.png) [@Gabriel\_Passadore](https://discuss.kubernetes.io/u/Gabriel_Passadore)\
**Post date:** [January 31, 2023, 2:43pm UTC](https://discuss.kubernetes.io/t/kasten-on-microk8s/22883/3 "2023-01-31T14:43:32Z")

</div>

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