-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
br: .spec.pause
is missing from backupschedule manifest after backup is created
#5610
Comments
.spec.pause
is missing from manifest, even if defined.spec.pause
is missing from manifest after backup is created
.spec.pause
is missing from manifest after backup is created.spec.pause
is missing from backupschedule manifest after backup is created
@hongshaoyang did you set the value of |
@csuzhangxc - it is set to the default, false, that is, scheduled backups are not paused.
but that is not expected. this will cause issues with infrastructure-as-code tools like terraform which expect values to not change over time. |
specially, for this Can you try it on other versions of server and client? |
Our GKE clusters are standardised to be the same version across. So I cannot try it on other versions. One observation is that after applying the Kube manifest, I also can view the |
One possible method to resolve it may not set these empty values in IaC tools as K8s/Golang-JSON has the |
Bug Report
What version of Kubernetes are you using?
Server Version: v1.26.11-gke.1055000
What version of TiDB Operator are you using?
TiDB Operator Version: version.Info{GitVersion:"v1.5.1", GitCommit:"2802a0834c50dab95e5eb4409dfbcc9717330721", GitTreeState:"clean", BuildDate:"2023-10-20T08:13:25Z", GoVersion:"go1.21.3", Compiler:"gc", Platform:"linux/amd64"}
What storage classes exist in the Kubernetes cluster and what are used for PD/TiKV pods?
(irrelevant)
What's the status of the TiDB cluster pods?
(irrelevant)
What did you do?
What did you expect to see?
.spec.pause
is present in kube manifestWhat did you see instead?
.spec.pause
was present after applying the kube manifest. however, after the backup was successfully created at 20:00 UTC, the.spec.pause
field became absent:The text was updated successfully, but these errors were encountered: