Skip to main content

Kasten more than one VolumesnapshotClass


Geoff Burke
Forum|alt.badge.img+22

Hi Everyone,

 

This should have been obvious to me but… often.. things are not. I love to admit my shortcomings because apart from taming my ego it keeps my bosses' expectations in check 😀.

This weekend in a flourishing fit of activity I setup my new Uber Lab. K8S with 5 nodes (remember Kasten community edition allows 5 nodes!), Traefik ingress controller, Metallb Loadbalancer, Calico cni, Longhorn csi and Rook Ceph csi!

But how to backup both workloads since they have 2 different volumesnapshotclasses?

 

As @jaiganeshjk pointed out to me you simply need to annotate both volumesnapshotclasses 😄

kubectl annotate volumesnapshotclass longhorn k10.kasten.io/is-snapshot-class=true


 kubectl annotate volumesnapshotclass csi-rbdplugin-snapclass k10.kasten.io/is-snapshot-class=true

 

Sometimes we overlook the simplest things. Thanks again @jaiganeshjk for the quick response.

0 comments

Be the first to comment!

Comment