# Usage of the v1 API implies that the cluster must have # external-snapshotter v4.x installed. apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshotClass metadata: name: csi-hostpath-snapclass labels: app.kubernetes.io/instance: hostpath.csi.k8s.io app.kubernetes.io/part-of: csi-driver-host-path app.kubernetes.io/name: csi-hostpath-snapclass app.kubernetes.io/component: volumesnapshotclass driver: hostpath.csi.k8s.io #csi-hostpath deletionPolicy: Delete