diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fec3b68eb..cb1e4b8333 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,93 @@ +# TiDB Operator v1.0.0-beta.3 Release Notes + +## v1.0.0-beta.3 What’s New + +### Action Required +- ACTION REQUIRED: `nodeSelectorRequired` was removed from values.yaml. +- ACTION REQUIRED: Comma-separated values support in `nodeSelector` has been dropped, please use new-added `affinity` field which has a more expressive syntax. + +### A lot of stability cases added +- ConfigMap rollout +- One PD replicas +- Stop TiDB Operator itself +- TiDB stable scheduling +- Disaster tolerance and data regions disaster tolerance +- Fix many bugs of stability test + +### Features added +- Introduce ConfigMap rollout management. With the feature gate open, configuration file changes will be automatically applied to the cluster via a rolling update. Currently, the `scheduler` and `replication` configurations of PD can not be changed via ConfigMap rollout. You can use `pd-ctl` to change these values instead, see [#487](https://github.com/pingcap/tidb-operator/pull/487) for details. +- Support stable scheduling for pods of TiDB members in tidb-scheduler. +- Support adding additional pod annotations for PD/TiKV/TiDB, e.g. [fluentbit.io/parser](https://docs.fluentbit.io/manual/filter/kubernetes#kubernetes-annotations). +- Support the affinity feature of k8s which can define the rule of assigning pods to nodes +- Allow pausing during TiDB upgrade + +### Documentation improved +- GCP one-command deployment +- Refine user guides +- Improve GKE, AWS, Aliyun guide + +### Pass Queeny's test + +### Other improvements +- Upgrade default TiDB version to v3.0.0-rc.1 +- fix bug in reporting assigned nodes of tidb members +- `tkctl get` can show cpu usage correctly now +- Adhoc backup now appends the start time to the PVC name by default. +- add the privileged option for TiKV pod +- `tkctl upinfo` can show nodeIP podIP port now + +## Detailed Bug Fixes And Changes + +- Add port podip nodeip to tkctl upinfo ([#538](https://github.com/pingcap/tidb-operator/pull/538)) +- fix disaster tolerance of stability test ([#543](https://github.com/pingcap/tidb-operator/pull/543)) +- add privileged option for tikv pod template ([#550](https://github.com/pingcap/tidb-operator/pull/550)) +- use staticcheck instead of megacheck ([#548](https://github.com/pingcap/tidb-operator/pull/548)) +- Refine backup and restore documentation ([#518](https://github.com/pingcap/tidb-operator/pull/518)) +- Fix stability tidb pause case ([#542](https://github.com/pingcap/tidb-operator/pull/542)) +- Fix tkctl get cpu info rendering ([#536](https://github.com/pingcap/tidb-operator/pull/536)) +- Fix aliyun tf output rendering and refine documents ([#511](https://github.com/pingcap/tidb-operator/pull/511)) +- make webhook configurable ([#529](https://github.com/pingcap/tidb-operator/pull/529)) +- Add pods disaster tolerance and data regions disaster tolerance test cases ([#497](https://github.com/pingcap/tidb-operator/pull/497)) +- Remove helm hook annotation for initializer job ([#526](https://github.com/pingcap/tidb-operator/pull/526)) +- stability test: Add stable scheduling e2e test case ([#524](https://github.com/pingcap/tidb-operator/pull/524)) +- upgrade tidb version in related documentations ([#532](https://github.com/pingcap/tidb-operator/pull/532)) +- stable scheduling: fix bug in reporting assigned nodes of tidb members ([#531](https://github.com/pingcap/tidb-operator/pull/531)) +- reduce wait time and fix stablity test ([#525](https://github.com/pingcap/tidb-operator/pull/525)) +- tidb-operator: fix documentation usability issues in GCP document ([#519](https://github.com/pingcap/tidb-operator/pull/519)) +- stability cases added: pd replicas 1 and stop tidb-operator ([#496](https://github.com/pingcap/tidb-operator/pull/496)) +- pause-upgrade stability test ([#521](https://github.com/pingcap/tidb-operator/pull/521)) +- fix restore script bug ([#510](https://github.com/pingcap/tidb-operator/pull/510)) +- stability: retry truncating sst files upon failure ([#484](https://github.com/pingcap/tidb-operator/pull/484)) +- upgrade default tidb to v3.0.0-rc.1 ([#520](https://github.com/pingcap/tidb-operator/pull/520)) +- add --namespace when create backup secret ([#515](https://github.com/pingcap/tidb-operator/pull/515)) +- New stability test case for ConfigMap rollout ([#499](https://github.com/pingcap/tidb-operator/pull/499)) +- docs: Fix issues found in Queeny's test ([#507](https://github.com/pingcap/tidb-operator/pull/507)) +- Pause rolling-upgrade process of tidb statefulset ([#470](https://github.com/pingcap/tidb-operator/pull/470)) +- Gke terraform and guide ([#493](https://github.com/pingcap/tidb-operator/pull/493)) +- support the affinity feature of k8s which define the rule of assigning pods to nodes ([#475](https://github.com/pingcap/tidb-operator/pull/475)) +- Support adding additional pod annotations for PD/TiKV/TiDB ([#500](https://github.com/pingcap/tidb-operator/pull/500)) +- Document about PD configuration issue ([#504](https://github.com/pingcap/tidb-operator/pull/504)) +- Refine aliyun and aws cloud tidb configurations ([#492](https://github.com/pingcap/tidb-operator/pull/492)) +- tidb-operator: update wording and add note ([#502](https://github.com/pingcap/tidb-operator/pull/502)) +- Support stable scheduling for TiDB ([#477](https://github.com/pingcap/tidb-operator/pull/477)) +- fix `make lint` ([#495](https://github.com/pingcap/tidb-operator/pull/495)) +- Support updating configuraion on the fly ([#479](https://github.com/pingcap/tidb-operator/pull/479)) +- docs/aws: update AWS deploy docs after testing ([#491](https://github.com/pingcap/tidb-operator/pull/491)) +- add release-note to pull_request_template.md ([#490](https://github.com/pingcap/tidb-operator/pull/490)) +- Design proposal of stable scheduling in TiDB ([#466](https://github.com/pingcap/tidb-operator/pull/466)) +- Update DinD image to make it possible to configure HTTP proxies ([#485](https://github.com/pingcap/tidb-operator/pull/485)) +- readme: fix a broken link ([#489](https://github.com/pingcap/tidb-operator/pull/489)) +- Fixed typo ([#483](https://github.com/pingcap/tidb-operator/pull/483)) + # TiDB Operator v1.0.0-beta.2 Release Notes ## v1.0.0-beta.2 What’s New -Stability has been greatly enhanced +### Stability has been greatly enhanced - Refactored e2e test - Added stability test, 7x24 running -Greatly improved ease of use - +### Greatly improved ease of use - One-command deployment for AWS, Aliyun - Minikube deployment for testing - Tkctl cli tool @@ -17,8 +97,7 @@ Greatly improved ease of use - Improved user guide - Contributing documentation -Bug fixes - +### Bug fixes - Fix PD start script, add join file when startup - Fix TiKV failover take too long - Fix PD ha when replcias is less than 3 @@ -26,8 +105,7 @@ Bug fixes - Fix scheduler ha bug with defer deleting pods - Fix bug when using shareinformer without deepcopy -Other improvements - +### Other improvements - Remove pushgateway from TiKV pod - Add GitHub templates for issue reporting and PR - Automatically set the scheduler K8s version @@ -36,107 +114,107 @@ Other improvements ## Detailed Bug Fixes And Changes -- Don't initialize when there is no tidb.password (#282) -- fix join script (#285) -- Document tool setup and e2e test detail in Contributing.md (#288) -- Update setup.md (#281) -- Support slow log tailing sidcar for tidb instance (#290) -- Flexible tidb initializer job with secret set outside of helm (#286) -- Ensure SLOW_LOG_FILE env variable is always set (#298) -- fix setup document description (#300) -- refactor backup (#301) -- Abandon vendor and refresh go.sum (#311) -- set the SLOW_LOG_FILE in the startup script (#307) -- automatically set the scheduler K8s version (#313) -- tidb stability test main function (#306) -- stability: add fault-trigger server (#312) -- Yinliang/backup and restore add adhoc backup and restore functison (#316) -- stability: add scale & upgrade case functions (#309) -- add slack (#318) -- log dump when test failed (#317) -- stability: add fault-trigger client (#326) -- monitor checker (#320) -- stability: add blockWriter case for inserting data (#321) -- add scheduled-backup test case (#322) -- stability: port ddl test as a workload (#328) -- stability: use fault-trigger at e2e tests and add some log (#330) -- add binlog deploy and check process (#329) -- fix e2e can not make (#331) -- multi tidb cluster testing (#334) -- fix bakcup test bugs (#335) -- delete blockWrite.go use blockwrite.go instead (#333) -- remove vendor (#344) -- stability: add more checks for scale & upgrade (#327) -- stability: support more fault injection (#345) -- rewrite e2e (#346) -- stability: add failover test (#349) -- fix ha when replcias is less than 3 (#351) -- stability: add fault-trigger service file (#353) -- fix dind doc (#352) -- Add additionalPrintColumns for TidbCluster CRD (#361) -- refactor stability main function (#363) -- enable admin privelege for prom (#360) -- Updated Readme with New Info (#365) -- Build CLI (#357) -- add extraLabels variable in tidb-cluster chart (#373) -- fix tikv failover (#368) -- Separate and ensure setup before e2e-build (#375) -- Fix codegen.sh and lock related depedencies (#371) -- stability: add sst-file-corruption case (#382) -- use release name as default clusterName (#354) -- Add util class to support to add annotations to Grafana (#378) -- Use grafana provisioning to replace dashboard installer (#388) -- ensure test env is ready before cases running (#386) -- remove monitor config job check (#390) -- Update local-pv documentation (#383) -- Update Jenkins links in README.md (#395) -- fix e2e workflow in CONTRIBUTING.md (#392) -- Support running stability test out of cluster (#397) -- update tidb secret docs and charts (#398) -- Enable blockWriter write pressure in stability test (#399) -- Support debug and ctop commands in CLI (#387) -- marketplace update (#380) -- dashboard:update editable value from true to false (#394) -- add fault inject for kube proxy (#384) -- use `ioutil.TempDir()` create charts and operator repo's directories (#405) -- Improve workflow in docs/google-kubernetes-tutorial.md (#400) -- Support plugin start argument for tidb instance (#412) -- Replace govet with official vet tool (#416) -- allocate 24 PVs by default (after 2 clusters are scaled to (#407) -- refine stability (#422) -- Record event as grafana annotation in stability test (#414) -- add GitHub templates for issue reporting and PR (#420) -- add TiDBUpgrading func (#423) -- fix operator chart issue (#419) -- fix stability issues (#433) -- change cert generate method and add pd and kv prestop webhook (#406) -- a tidb-scheduler bug fix and emit event when scheduled failed (#427) -- Shell completion for tkctl (#431) -- Delete an duplicate import (#434) -- add etcd and kube-apiserver faults (#367) -- Fix TiDB Slack link (#444) -- fix scheduler ha bug (#443) -- add terraform script to auto deploy TiDB cluster on AWS (#401) -- Adds instructions to access Grafana in GKE tutorial (#448) -- fix label selector (#437) -- no need to set ClusterIP when syncing headless service (#432) -- docs on how to deploy tidb cluster with tidb-operator in minikube (#451) -- add slack notify (#439) -- fix local dind env (#440) -- Add terraform scripts to support alibaba cloud ACK deployment (#436) -- Fix backup data compare logic (#454) -- stability test: async emit annotations (#438) -- Use TiDB v2.1.8 by default & remove pushgateway (#435) -- Fix bug use shareinformer without copy (#462) -- Add version command for tkctl (#456) -- Add tkctl user manual (#452) -- Fix binlog problem on large scale (#460) -- Copy kubernetes.io/hostname label to PVs (#464) -- AWS EKS tutorial change to new terraform script (#463) -- docs/minikube: update documentation of minikube installation (#471) -- docs/dind: update documentation of DinD installation (#458) -- docs/minikube: add instructions to access Grafana (#476) -- support-multi-version-dashboard (#473) -- docs/aliyun: update aliyun deploy docs after testing (#474) -- GKE local SSD size warning (#467) -- update roadmap (#376) +- Don't initialize when there is no tidb.password ([#282](https://github.com/pingcap/tidb-operator/pull/282)) +- fix join script ([#285](https://github.com/pingcap/tidb-operator/pull/285)) +- Document tool setup and e2e test detail in Contributing.md ([#288](https://github.com/pingcap/tidb-operator/pull/288)) +- Update setup.md ([#281](https://github.com/pingcap/tidb-operator/pull/281)) +- Support slow log tailing sidcar for tidb instance ([#290](https://github.com/pingcap/tidb-operator/pull/290)) +- Flexible tidb initializer job with secret set outside of helm ([#286](https://github.com/pingcap/tidb-operator/pull/286)) +- Ensure SLOW_LOG_FILE env variable is always set ([#298](https://github.com/pingcap/tidb-operator/pull/298)) +- fix setup document description ([#300](https://github.com/pingcap/tidb-operator/pull/300)) +- refactor backup ([#301](https://github.com/pingcap/tidb-operator/pull/301)) +- Abandon vendor and refresh go.sum ([#311](https://github.com/pingcap/tidb-operator/pull/311)) +- set the SLOW_LOG_FILE in the startup script ([#307](https://github.com/pingcap/tidb-operator/pull/307)) +- automatically set the scheduler K8s version ([#313](https://github.com/pingcap/tidb-operator/pull/313)) +- tidb stability test main function ([#306](https://github.com/pingcap/tidb-operator/pull/306)) +- stability: add fault-trigger server ([#312](https://github.com/pingcap/tidb-operator/pull/312)) +- Yinliang/backup and restore add adhoc backup and restore functison ([#316](https://github.com/pingcap/tidb-operator/pull/316)) +- stability: add scale & upgrade case functions ([#309](https://github.com/pingcap/tidb-operator/pull/309)) +- add slack ([#318](https://github.com/pingcap/tidb-operator/pull/318)) +- log dump when test failed ([#317](https://github.com/pingcap/tidb-operator/pull/317)) +- stability: add fault-trigger client ([#326](https://github.com/pingcap/tidb-operator/pull/326)) +- monitor checker ([#320](https://github.com/pingcap/tidb-operator/pull/320)) +- stability: add blockWriter case for inserting data ([#321](https://github.com/pingcap/tidb-operator/pull/321)) +- add scheduled-backup test case ([#322](https://github.com/pingcap/tidb-operator/pull/322)) +- stability: port ddl test as a workload ([#328](https://github.com/pingcap/tidb-operator/pull/328)) +- stability: use fault-trigger at e2e tests and add some log ([#330](https://github.com/pingcap/tidb-operator/pull/330)) +- add binlog deploy and check process ([#329](https://github.com/pingcap/tidb-operator/pull/329)) +- fix e2e can not make ([#331](https://github.com/pingcap/tidb-operator/pull/331)) +- multi tidb cluster testing ([#334](https://github.com/pingcap/tidb-operator/pull/334)) +- fix bakcup test bugs ([#335](https://github.com/pingcap/tidb-operator/pull/335)) +- delete blockWrite.go use blockwrite.go instead ([#333](https://github.com/pingcap/tidb-operator/pull/333)) +- remove vendor ([#344](https://github.com/pingcap/tidb-operator/pull/344)) +- stability: add more checks for scale & upgrade ([#327](https://github.com/pingcap/tidb-operator/pull/327)) +- stability: support more fault injection ([#345](https://github.com/pingcap/tidb-operator/pull/345)) +- rewrite e2e ([#346](https://github.com/pingcap/tidb-operator/pull/346)) +- stability: add failover test ([#349](https://github.com/pingcap/tidb-operator/pull/349)) +- fix ha when replcias is less than 3 ([#351](https://github.com/pingcap/tidb-operator/pull/351)) +- stability: add fault-trigger service file ([#353](https://github.com/pingcap/tidb-operator/pull/353)) +- fix dind doc ([#352](https://github.com/pingcap/tidb-operator/pull/352)) +- Add additionalPrintColumns for TidbCluster CRD ([#361](https://github.com/pingcap/tidb-operator/pull/361)) +- refactor stability main function ([#363](https://github.com/pingcap/tidb-operator/pull/363)) +- enable admin privelege for prom ([#360](https://github.com/pingcap/tidb-operator/pull/360)) +- Updated Readme with New Info ([#365](https://github.com/pingcap/tidb-operator/pull/365)) +- Build CLI ([#357](https://github.com/pingcap/tidb-operator/pull/357)) +- add extraLabels variable in tidb-cluster chart ([#373](https://github.com/pingcap/tidb-operator/pull/373)) +- fix tikv failover ([#368](https://github.com/pingcap/tidb-operator/pull/368)) +- Separate and ensure setup before e2e-build ([#375](https://github.com/pingcap/tidb-operator/pull/375)) +- Fix codegen.sh and lock related depedencies ([#371](https://github.com/pingcap/tidb-operator/pull/371)) +- stability: add sst-file-corruption case ([#382](https://github.com/pingcap/tidb-operator/pull/382)) +- use release name as default clusterName ([#354](https://github.com/pingcap/tidb-operator/pull/354)) +- Add util class to support to add annotations to Grafana ([#378](https://github.com/pingcap/tidb-operator/pull/378)) +- Use grafana provisioning to replace dashboard installer ([#388](https://github.com/pingcap/tidb-operator/pull/388)) +- ensure test env is ready before cases running ([#386](https://github.com/pingcap/tidb-operator/pull/386)) +- remove monitor config job check ([#390](https://github.com/pingcap/tidb-operator/pull/390)) +- Update local-pv documentation ([#383](https://github.com/pingcap/tidb-operator/pull/383)) +- Update Jenkins links in README.md ([#395](https://github.com/pingcap/tidb-operator/pull/395)) +- fix e2e workflow in CONTRIBUTING.md ([#392](https://github.com/pingcap/tidb-operator/pull/392)) +- Support running stability test out of cluster ([#397](https://github.com/pingcap/tidb-operator/pull/397)) +- update tidb secret docs and charts ([#398](https://github.com/pingcap/tidb-operator/pull/398)) +- Enable blockWriter write pressure in stability test ([#399](https://github.com/pingcap/tidb-operator/pull/399)) +- Support debug and ctop commands in CLI ([#387](https://github.com/pingcap/tidb-operator/pull/387)) +- marketplace update ([#380](https://github.com/pingcap/tidb-operator/pull/380)) +- dashboard:update editable value from true to false ([#394](https://github.com/pingcap/tidb-operator/pull/394)) +- add fault inject for kube proxy ([#384](https://github.com/pingcap/tidb-operator/pull/384)) +- use `ioutil.TempDir()` create charts and operator repo's directories ([#405](https://github.com/pingcap/tidb-operator/pull/405)) +- Improve workflow in docs/google-kubernetes-tutorial.md ([#400](https://github.com/pingcap/tidb-operator/pull/400)) +- Support plugin start argument for tidb instance ([#412](https://github.com/pingcap/tidb-operator/pull/412)) +- Replace govet with official vet tool ([#416](https://github.com/pingcap/tidb-operator/pull/416)) +- allocate 24 PVs by default (after 2 clusters are scaled to ([#407](https://github.com/pingcap/tidb-operator/pull/407)) +- refine stability ([#422](https://github.com/pingcap/tidb-operator/pull/422)) +- Record event as grafana annotation in stability test ([#414](https://github.com/pingcap/tidb-operator/pull/414)) +- add GitHub templates for issue reporting and PR ([#420](https://github.com/pingcap/tidb-operator/pull/420)) +- add TiDBUpgrading func ([#423](https://github.com/pingcap/tidb-operator/pull/423)) +- fix operator chart issue ([#419](https://github.com/pingcap/tidb-operator/pull/419)) +- fix stability issues ([#433](https://github.com/pingcap/tidb-operator/pull/433)) +- change cert generate method and add pd and kv prestop webhook ([#406](https://github.com/pingcap/tidb-operator/pull/406)) +- a tidb-scheduler bug fix and emit event when scheduled failed ([#427](https://github.com/pingcap/tidb-operator/pull/427)) +- Shell completion for tkctl ([#431](https://github.com/pingcap/tidb-operator/pull/431)) +- Delete an duplicate import ([#434](https://github.com/pingcap/tidb-operator/pull/434)) +- add etcd and kube-apiserver faults ([#367](https://github.com/pingcap/tidb-operator/pull/367)) +- Fix TiDB Slack link ([#444](https://github.com/pingcap/tidb-operator/pull/444)) +- fix scheduler ha bug ([#443](https://github.com/pingcap/tidb-operator/pull/443)) +- add terraform script to auto deploy TiDB cluster on AWS ([#401](https://github.com/pingcap/tidb-operator/pull/401)) +- Adds instructions to access Grafana in GKE tutorial ([#448](https://github.com/pingcap/tidb-operator/pull/448)) +- fix label selector ([#437](https://github.com/pingcap/tidb-operator/pull/437)) +- no need to set ClusterIP when syncing headless service ([#432](https://github.com/pingcap/tidb-operator/pull/432)) +- docs on how to deploy tidb cluster with tidb-operator in minikube ([#451](https://github.com/pingcap/tidb-operator/pull/451)) +- add slack notify ([#439](https://github.com/pingcap/tidb-operator/pull/439)) +- fix local dind env ([#440](https://github.com/pingcap/tidb-operator/pull/440)) +- Add terraform scripts to support alibaba cloud ACK deployment ([#436](https://github.com/pingcap/tidb-operator/pull/436)) +- Fix backup data compare logic ([#454](https://github.com/pingcap/tidb-operator/pull/454)) +- stability test: async emit annotations ([#438](https://github.com/pingcap/tidb-operator/pull/438)) +- Use TiDB v2.1.8 by default & remove pushgateway ([#435](https://github.com/pingcap/tidb-operator/pull/435)) +- Fix bug use shareinformer without copy ([#462](https://github.com/pingcap/tidb-operator/pull/462)) +- Add version command for tkctl ([#456](https://github.com/pingcap/tidb-operator/pull/456)) +- Add tkctl user manual ([#452](https://github.com/pingcap/tidb-operator/pull/452)) +- Fix binlog problem on large scale ([#460](https://github.com/pingcap/tidb-operator/pull/460)) +- Copy kubernetes.io/hostname label to PVs ([#464](https://github.com/pingcap/tidb-operator/pull/464)) +- AWS EKS tutorial change to new terraform script ([#463](https://github.com/pingcap/tidb-operator/pull/463)) +- docs/minikube: update documentation of minikube installation ([#471](https://github.com/pingcap/tidb-operator/pull/471)) +- docs/dind: update documentation of DinD installation ([#458](https://github.com/pingcap/tidb-operator/pull/458)) +- docs/minikube: add instructions to access Grafana ([#476](https://github.com/pingcap/tidb-operator/pull/476)) +- support-multi-version-dashboard ([#473](https://github.com/pingcap/tidb-operator/pull/473)) +- docs/aliyun: update aliyun deploy docs after testing ([#474](https://github.com/pingcap/tidb-operator/pull/474)) +- GKE local SSD size warning ([#467](https://github.com/pingcap/tidb-operator/pull/467)) +- update roadmap ([#376](https://github.com/pingcap/tidb-operator/pull/376)) diff --git a/ROADMAP.md b/ROADMAP.md index f76b8ee25c..af7aa31936 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -45,13 +45,12 @@ This document defines the roadmap for TiDB Operator development. - [x] TiDB 3.0-beta support ## v1.0.0-beta.3 -- [ ] GCP one-command deployment -- [ ] Schedule TiDB pod on previous node -- [ ] Rolling update when ConfigMap changes -- [ ] Allow pausing during TiDB upgrade +- [x] GCP one-command deployment +- [x] Schedule TiDB pod on previous node +- [x] Rolling update when ConfigMap changes +- [x] Allow pausing during TiDB upgrade ## v1.0.0-beta.4 -- [ ] Kustomize support - [ ] HA deployment document - [ ] Monitor deployment document - [ ] Detailed Backup/Restore document diff --git a/charts/tidb-cluster/values.yaml b/charts/tidb-cluster/values.yaml index de2ece7c3e..8b71bd156a 100644 --- a/charts/tidb-cluster/values.yaml +++ b/charts/tidb-cluster/values.yaml @@ -30,7 +30,7 @@ services: type: ClusterIP discovery: - image: pingcap/tidb-operator:v1.0.0-beta.2 + image: pingcap/tidb-operator:v1.0.0-beta.3 imagePullPolicy: IfNotPresent resources: limits: diff --git a/charts/tidb-operator/values.yaml b/charts/tidb-operator/values.yaml index 2ed14f35ce..b32d8fcd59 100644 --- a/charts/tidb-operator/values.yaml +++ b/charts/tidb-operator/values.yaml @@ -9,7 +9,7 @@ rbac: create: true # operatorImage is TiDB Operator image -operatorImage: pingcap/tidb-operator:v1.0.0-beta.2 +operatorImage: pingcap/tidb-operator:v1.0.0-beta.3 imagePullPolicy: IfNotPresent defaultStorageClassName: local-storage diff --git a/deploy/gcp/variables.tf b/deploy/gcp/variables.tf index 39e29adf85..01f806adef 100644 --- a/deploy/gcp/variables.tf +++ b/deploy/gcp/variables.tf @@ -10,7 +10,7 @@ variable "tidb_version" { variable "tidb_operator_version" { description = "TiDB operator version" - default = "v1.0.0-beta.2" + default = "v1.0.0-beta.3" } variable "pd_replica_count" { diff --git a/tests/actions.go b/tests/actions.go index 42278d469a..5e92ca8ffe 100644 --- a/tests/actions.go +++ b/tests/actions.go @@ -96,7 +96,7 @@ func NewOperatorActions(cli versioned.Interface, const ( DefaultPollTimeout time.Duration = 10 * time.Minute DefaultPollInterval time.Duration = 1 * time.Minute - BackupAndRestorePollTimeOut time.Duration = 30 * time.Minute + BackupAndRestorePollTimeOut time.Duration = 60 * time.Minute getBackupDirPodName = "get-backup-dir" grafanaUsername = "admin" grafanaPassword = "admin" @@ -1921,7 +1921,7 @@ func (oa *operatorActions) CheckScheduledBackup(info *TidbClusterConfig) error { succededJobCount := 0 for _, j := range backupJobs { - if j.Status.Failed > 0 { + if j.Status.Failed > 3 { return false, fmt.Errorf("cluster [%s/%s] scheduled backup job failed, job: [%s] failed count is: %d", info.Namespace, info.ClusterName, j.Name, j.Status.Failed) } diff --git a/tests/manifests/stability/stability.yaml b/tests/manifests/stability/stability.yaml index 911744c9ea..f748ee4dc5 100644 --- a/tests/manifests/stability/stability.yaml +++ b/tests/manifests/stability/stability.yaml @@ -47,8 +47,8 @@ spec: command: - /usr/local/bin/stability-test - --config=/etc/tidb-operator-stability/config.yaml - - --operator-image=pingcap/tidb-operator:v1.0.0-beta.2 - - --operator-tag=v1.0.0-beta.2 + - --operator-image=pingcap/tidb-operator:v1.0.0-beta.3 + - --operator-tag=v1.0.0-beta.3 - --slack-webhook-url="" volumeMounts: - mountPath: /logDir