tidb-operator icon indicating copy to clipboard operation
tidb-operator copied to clipboard

Optimization for `CreateOrUpdateConfigMap`

Open DanielZhangQD opened this issue 5 years ago • 2 comments

Feature Request

Is your feature request related to a problem? Please describe:

Describe the feature you'd like:

During the configmap sync, we do not check if it exists or not but call the CreateOrUpdateConfigMap function directly, which will call API to the kube-apiserver directly during each sync, increase the load of kube-apiserver, and should be optimized. Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

DanielZhangQD avatar Jan 25 '21 06:01 DanielZhangQD

/assign

BinChenn avatar Feb 01 '21 02:02 BinChenn

/assign

mianhk avatar Aug 31 '21 09:08 mianhk