gardener / etcd-druid

An etcd operator to configure, provision, reconcile and monitor etcd clusters.
Apache License 2.0
74 stars 50 forks source link

☂️ Enhance Etcd spec to include snapshot compaction spec #708

Open shreyas-s-rao opened 1 year ago

shreyas-s-rao commented 1 year ago

Feature (What you would like to be added): Enhance Etcd spec to include snapshot compaction spec, with fields such as resource requests/limits, thresholds/triggers, job spec fields such as TTL, cleanup logic, etc.

Motivation (Why is this needed?): It would be beneficial to have a fully configurable compaction job spec for every Etcd resource, so that compaction jobs can be configured per etcd resource at a fine-grained level, rather than at the druid-level.

Approach/Hint to the implement solution (optional):

unmarshall commented 2 weeks ago

@shreyas-s-rao we already have CompactionResources as part of the Backup spec. This is also used in the compaction reconciler. See here. This should also address the remaining task in https://github.com/gardener/etcd-druid/issues/707, right?