liquidmetal-dev / cluster-api-provider-microvm

The Cluster API provider for creating microvm (i.e. Firecracker, Cloud Hypervisor) clusters
Other
80 stars 9 forks source link

Only delete MicroVMs if state is CREATED or PENDING #83

Closed Callisto13 closed 2 years ago

Callisto13 commented 2 years ago

Currently when deleting a microvm machine we Get the mvm and check if it is not nil and then delete.

But, we should only issue a delete request to mvms that are not already deleting.

The states on an MVM are:

Callisto13 commented 2 years ago

the other half of https://github.com/weaveworks/flintlock/issues/310