This message was deleted.
# harvester
a
This message was deleted.
t
When you delete a VM in the UI, the popup confirmation box has checkboxes for each volume that you want to delete. By default, only the first volume is checked, but you can check others. I'm not sure if there is a way to have them all checked by default.
s
Ah, maybe the problem stems from how I am deleting them. I'm using terraform provider to create and delete VMs. Looking at the docs, is that what the auto delete flag is for? Silly me. 😬
t
Not sure, but would make sense and be similar to other management tools. I'm a relatively new (4-months) Harvester user and only been in the slack channel a week or two.
s
😄 I'll experiment with it. Thanks for pointing me in the right direction.
👍 1
m
If you use the default storage class havester-longhorn like it is configured with the default settings to automatically retain the volumes. So you could just create another storage class that does not retain the volumes
s
Hmm, I just checked and my harvester-longhorn SC is set to Delete volumes and underlying device when VC is deleted. I recently updated to 1.2.0, I wonder if they changed the default? I’m not sure what it was set to in 1.1.2. Is that what you’re running?
m
No i just upgraded to 1.2.0. But i might have been mistaken as to the default setting, sorry
👍 1