Is it possible to use Kasten with volumesnapshotclass on CSI driver?

Userlevel 1
  • Not a newbie anymore


I have a k8s cluster running on top on VMWare infrastructure.

VMWare CSI ( is installed and is working correctly.
I have installed too the volumesnapshotclass with the controller on top of CSI driver as described here:

The volumesnapshotclass  is working well; I can snapshot PVC and restore them as well without problem.

But Kasten refuses to use the volumesnapshotclass.

For instance, running preflight tool:

$ ./k10tools primer csi-cluster-check
CSI Capabilities Check:
  Skipping, K10 does not use CSI snapshots for vSphere

Is it possible to say to Kasten: I know I am in a vSphere environment, but please just use volumesnapshotclass to backup the PVC?

Many thanks for your help


Best answer by jaiganeshjk 27 March 2023, 10:52

View original


Userlevel 7
Badge +21


Userlevel 7
Badge +22

I am not sure about the pre-flight script but when I have gotten this to work I have always used a vsphere infrastructure profile since it seems to say that in the docs here:

 “Creation of a vSphere Infrastructure Profile is required to backup volumes provisioned by the vSphere CSI driver. Additional information related to the management of vSphere volumes is also found in the same section.”



Userlevel 6
Badge +2

@lejav At this point, K10 doesn’t support CSI snapshotting with Vsphere driver.

As @Geoff Burke mentioned, You will have to use Infrastructure profile to setup backup/exports for Vsphere CSI driver based volumes.

This internally uses vsphere govmomi libraries to connect to your vsphere infra and do snapshot and volume operations.

Userlevel 1

@jaiganeshjk Many thanks for your answer.
What I do not understand well is: what are the limitations? We have a volumesnapshotclass working correctly. Kasten might be able to use it, as any volumesnapshotclass, no?


Userlevel 6
Badge +2

K10 is currently set-up to use the infrastructure profile for all the PVCs provisioned using Vsphere CSI driver and doesn’t take the CSI snapshot route.

Currently Kasten doesn’t use the volumeSnapshotClass for the Vsphere PVCs.

With Infrastructure profile in K10, Exports can be set to use blockmode and CBT using VADP API.

I am not sure if this is possible with the CSI snapshots. 


Userlevel 3

Hi All,

If the vsphere-csi is not supported for volumeSnapshotClass… where are the snapshot are stored?

I’m using OCP4.10

Userlevel 6
Badge +2

@banjo We use Vsphere govmomi library to create FCD snapshots in Vsphere directly.