tidb-operator
tidb-operator copied to clipboard
Optimization for `CreateOrUpdateConfigMap`
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:
/assign
/assign