Open DanielZhangQD opened 3 years ago
GUI is difficult.I think we can use declarative API to do some maintenance operations instead of pd-ctl,tikv-ctl,etc. We can add event mechanism to handle maintenance operation ,due to maintenance operations can only consume once. For example, i need to delete tikv store by using pd-ctl delete store id. By operator, i can write
pd:
event:
store:
delete: 1
Operator will consume this event , and generate event message , operator not need to persist events.
Feature Request
Is your feature request related to a problem? Please describe:
Some users want the TiDB Operator to support the API operations of PD/TiDB/TiKV so that they do not need to use pd-ctl, tikv-ctl, etc. to interact with the core components, especially for a unique platform that manages all of the applications running in Kubernetes with GUI, it's not user friendly to run pd-ctl, tikv-ctl, etc. Describe the feature you'd like:
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy: