Skip to content

Instantly share code, notes, and snippets.

@tron4x
Last active November 10, 2024 08:41
Show Gist options
  • Save tron4x/229167d66d26b318c474a68ed068fc16 to your computer and use it in GitHub Desktop.
Save tron4x/229167d66d26b318c474a68ed068fc16 to your computer and use it in GitHub Desktop.
Kasten K10 - Longhorn - VolumeSnapshotClass

For Kasten K10 to work with Longhorn properly, you have to create a volumesnapshotclass.
Annotations for Kasten K10 must be set as below:

kind: VolumeSnapshotClass
apiVersion: snapshot.storage.k8s.io/v1
metadata:
  name: longhorn-snapshot-vsc
  annotations:
    k10.kasten.io/is-snapshot-class: "true"
driver: driver.longhorn.io
deletionPolicy: Delete
parameters:
  type: snap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment