Comments (5)
@hongshaoyang did you set the value of paused
(pause: ${var.is_backup_paused}
) to true
or false
? some default values may be absent in the manifest.
from tidb-operator.
@csuzhangxc - it is set to the default, false, that is, scheduled backups are not paused.
some default values may be absent in the manifest.
but that is not expected. this will cause issues with infrastructure-as-code tools like terraform which expect values to not change over time.
from tidb-operator.
specially, for this pause: false
, I tested it on Kubernetes server v1.27.3 and client v1.29.0, I can get it back with -o yaml
.
Can you try it on other versions of server and client?
from tidb-operator.
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 pause: false
field immediately with -o yaml
. But after a while (after the backup was created) the .spec.pause
field became absent.
from tidb-operator.
but that is not expected. this will cause issues with infrastructure-as-code tools like terraform which expect values to not change over time.
One possible method to resolve it may not set these empty values in IaC tools as K8s/Golang-JSON has the omitempty
behavior.
from tidb-operator.
Related Issues (20)
- How to use Backup CR to backup tidb to aliyun OSS? HOT 4
- tikv upgrade blocked
- can't set MaxSkew, MinDomains or NodeAffinityPolicy for TopologySpreadConstraint
- Release v1.5.3
- tidb-scheduler pod keep crashing with TiDB Operator v1.5.3 HOT 3
- support setting extra command line arguments for TiDB
- BR backup could raise error when PD leader changed during BR initialization HOT 3
- BackupCR(7.5.1) can not read the correct size of backup in minio HOT 5
- backup: support multiple backup schedules
- Volume leaked if volume restore failed in restore volume step
- Release 1.6.0
- How to remove a failed TiKV store when using local storage HOT 4
- TiDB Cluster Does Not Survive K8s Upgrade (EKS) or Nodegroup Upgrade HOT 3
- TiDB Operator Crash HOT 1
- operator tries to shrink volume after storage size update if value is in Mi HOT 5
- Documentation for operator features HOT 2
- Support PITR restore using --start-ts only
- If store number is 0, it is expected to set the volume backup to failed which will not blocked the whole clean schedule
- Can't change tiproxy service type HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tidb-operator.