submariner-io / enhancements

Enhancement proposals for Submariner projects.
https://submariner.io/
Apache License 2.0
5 stars 24 forks source link

Make broker objects expirable (auto-cleanup) #39

Open mangelajo opened 3 years ago

mangelajo commented 3 years ago

See [1] for reference.

Broker Endpoints and cluster could expire if the timestamp is not updated in T, while submariner would update the objects every T/2 time.

Alternatively, instead of auto-cleanup, this could be an admin triggered action on the broker, to avoid for example downtime to cluster who can't contact the broker temporarily.

Cleanup of local copies should not happen if the broker is unreachable to avoid dataplane downtime while the broker is down.

[1] https://github.com/submariner-io/submariner/blob/devel/pkg/cableengine/syncer/syncer.go#L142

dfarrell07 commented 2 years ago

@sridhargaddam and @tpantelis talked about this on the Issue scrub and it seems useful, different from other uninstall work.