https://rancher.com/ logo
#longhorn-storage
Title
# longhorn-storage
a

adamant-kite-43734

08/05/2022, 7:41 PM
This message was deleted.
1
b

billowy-painting-56466

08/08/2022, 12:56 AM
Have you tried the
retain
field for the snapshot?
f

famous-shampoo-18483

08/08/2022, 4:20 AM
In v1.3.0, you can try to directly delete snapshot CRs for one volume. And the snapshots of one volume can be filtered by the label
longhornvolume: <volume name>
.
m

many-rocket-71417

08/08/2022, 4:48 AM
@billowy-painting-56466 yes that field is always set but sometimes they don't get cleaned up and in my case some snapshots exist from other jobs that have since been deleted so retain doesn't seem to affect those. Which makes sense. @famous-shampoo-18483 this seems to be the way, might make a quick script to filter by this label and remove them. Thank you
👍 2
5 Views