lyft / cni-ipvlan-vpc-k8s

AWS VPC Kubernetes CNI driver using IPvlan
Apache License 2.0
360 stars 58 forks source link

Implementing deallocation garbage collection in the tool #14

Closed theatrus closed 6 years ago

theatrus commented 6 years ago

The IPAM plugin has a configuration option to never deallocate addresses, however there is no way to eventually clean up these addresses outside of terminating a node.

There should be a mark and sweep system to locate persistently free IPs and mark them for removal at a later pass. In the spirit of running daemon-less, we should record marks in a state file.

theatrus commented 6 years ago

Fixed in #25