pingcap / tidb-operator

TiDB operator creates and manages TiDB clusters running in Kubernetes.
https://docs.pingcap.com/tidb-in-kubernetes/
Apache License 2.0
1.22k stars 493 forks source link

Deduplication, abstract general sync method for resources #1244

Open aylei opened 4 years ago

aylei commented 4 years ago

Feature Request

Is your feature request related to a problem? Please describe: tidb-controller-manager maintains a lot of reconcile functions such as syncPdHeadlessService, syncTiKVHeadlessService, which are almost same in logic. It would be more maintainable if we can abstract these logic to shared functions.

Teachability, Documentation, Adoption, Migration Strategy:

This proposal won't introduce user-facing changes.

github-actions[bot] commented 4 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days