elotl / kip

Virtual-kubelet provider running pods in cloud instances
Apache License 2.0
223 stars 14 forks source link

Remove resources if the provider is deleted #131

Open ldx opened 4 years ago

ldx commented 4 years ago

There are resources created by Kip during runtime:

When a Kip instance is removed, the node will be removed soon by the control plane. However, all the VM instances, cell CRDs and SGs/firewalls that were active at that point will stay behind.

We need a way to detect when the Kip controller instance is gone, and remove all the resources it left.