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.23k stars 498 forks source link

Automatically create PITR truncate CR #4836

Open charleszheng44 opened 1 year ago

charleszheng44 commented 1 year ago

Feature Request

Is your feature request related to a problem? Please describe: The PITR truncate CR can only be created manually, while users may want to run the truncate periodically, requiring users to frequently create the truncate CR by hand.

Describe the feature you'd like: Automatically create the PITR truncate CR based on the user-defined time intervals. For example, like auto truncate every 30 days?

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

charleszheng44 commented 1 year ago

@csuzhangxc @azurezyq