diff --git a/CHANGELOG.md b/CHANGELOG.md index c2147cc66f..7c87a14959 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,73 @@ +# TiDB Operator v1.0.0-rc.1 Release Notes + +## v1.0.0-rc.1 What’s New + +### Stability test cases added + +- stop kube-proxy +- upgrade tidb-operator + +### A lot of improvements + +- get the TS first and increase the TiKV GC life time to 3 hours before the full backup +- Add endpoints list and watch permission for controller-manager +- Scheduler image is updated to use "k8s.gcr.io/kube-scheduler" which is much smaller than "gcr.io/google-containers/hyperkube". You must pre-pull the new scheduler image into your airgap environment before upgrading. +- Full backup data can be uploaded to or downloaded from Amazon S3 +- The terraform scripts support manage multiple TiDB clusters in one EKS cluster. +- Add `tikv.storeLables` setting +- on GKE one can use COS for TiKV nodes with small data for faster startup +- Support force upgrade when PD cluster is unavailable. + +### Bug fixes + +- fix unbound variable in the backup script +- Give kube-scheduler permission to update/patch pod status +- fix tidb user of scheduled backup script +- fix scheduled backup to ceph object storage +- Fix several usability problems for AWS terraform deployment +- fix scheduled backup bug: segmentation fault when backup user's password is empty + +## Detailed Bug Fixes And Changes + +- bugfix: segmentation fault when backup user's password is empty ([#649](https://github.com/pingcap/tidb-operator/pull/649)) +- Small fixes for terraform aws ([#646](https://github.com/pingcap/tidb-operator/pull/646)) +- TiKV upgrade bug fix ([#626](https://github.com/pingcap/tidb-operator/pull/626)) +- improving the readability of some code ([#639](https://github.com/pingcap/tidb-operator/pull/639)) +- support force upgrade when pd cluster is unavailable ([#631](https://github.com/pingcap/tidb-operator/pull/631)) +- Add new terraform version requirement to AWS deployment ([#636](https://github.com/pingcap/tidb-operator/pull/636)) +- GKE local ssd provisioner for COS ([#612](https://github.com/pingcap/tidb-operator/pull/612)) +- remove tidb version from build ([#627](https://github.com/pingcap/tidb-operator/pull/627)) +- refactor so that using the PD API avoids unnecessary imports ([#618](https://github.com/pingcap/tidb-operator/pull/618)) +- add storeLabels setting ([#527](https://github.com/pingcap/tidb-operator/pull/527)) +- Update google-kubernetes-tutorial.md ([#622](https://github.com/pingcap/tidb-operator/pull/622)) +- Multiple clusters management in EKS ([#616](https://github.com/pingcap/tidb-operator/pull/616)) +- Add Amazon S3 support to the backup/restore features ([#606](https://github.com/pingcap/tidb-operator/pull/606)) +- pass TiKV upgrade case ([#619](https://github.com/pingcap/tidb-operator/pull/619)) +- separate slow log with tidb server log by default ([#610](https://github.com/pingcap/tidb-operator/pull/610)) +- fix the problem of unbound variable in backup script ([#608](https://github.com/pingcap/tidb-operator/pull/608)) +- fix notes of tidb-backup chart ([#595](https://github.com/pingcap/tidb-operator/pull/595)) +- Give kube-scheduler ability to update/patch pod status. ([#611](https://github.com/pingcap/tidb-operator/pull/611)) +- Use kube-scheduler image instead of hyperkube ([#596](https://github.com/pingcap/tidb-operator/pull/596)) +- fix pull request template grammar ([#607](https://github.com/pingcap/tidb-operator/pull/607)) +- local SSD provision: reduce network traffic +- {origin/HEAD} {origin/master} add operator upgrade case ([#579](https://github.com/pingcap/tidb-operator/pull/579)) +- fix bug that tikv status is always upgrade ([#598](https://github.com/pingcap/tidb-operator/pull/598)) +- build without debugger symbols ([#592](https://github.com/pingcap/tidb-operator/pull/592)) +- improve error messages ([#591](https://github.com/pingcap/tidb-operator/pull/591)) +- fix tidb user of scheduled backup script ([#594](https://github.com/pingcap/tidb-operator/pull/594)) +- fix dt case bug ([#571](https://github.com/pingcap/tidb-operator/pull/571)) +- GKE terraform ([#585](https://github.com/pingcap/tidb-operator/pull/585)) +- fix scheduled backup to ceph object storage ([#576](https://github.com/pingcap/tidb-operator/pull/576)) +- Add stop kube-scheduler/kube-controller-manager test cases ([#583](https://github.com/pingcap/tidb-operator/pull/583)) +- Add endpoints list and watch permission for controller-manager ([#590](https://github.com/pingcap/tidb-operator/pull/590)) +- refine fullbackup ([#570](https://github.com/pingcap/tidb-operator/pull/570)) +- Make sure go modules files are always tidy and up to date ([#588](https://github.com/pingcap/tidb-operator/pull/588)) +- Local SSD on GKE ([#577](https://github.com/pingcap/tidb-operator/pull/577)) +- stability-test: stop kube-proxy case ([#556](https://github.com/pingcap/tidb-operator/pull/556)) +- fix resource unit ([#573](https://github.com/pingcap/tidb-operator/pull/573)) +- Give local-volume-provisioner pod a QoS of Guaranteed ([#569](https://github.com/pingcap/tidb-operator/pull/569)) +- Check PD enpoints status when it's unhealthy. ([#545](https://github.com/pingcap/tidb-operator/pull/545)) + # TiDB Operator v1.0.0-beta.3 Release Notes ## v1.0.0-beta.3 What’s New diff --git a/ROADMAP.md b/ROADMAP.md index af7aa31936..fee32d5d89 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -50,20 +50,14 @@ This document defines the roadmap for TiDB Operator development. - [x] Rolling update when ConfigMap changes - [x] Allow pausing during TiDB upgrade -## v1.0.0-beta.4 -- [ ] HA deployment document -- [ ] Monitor deployment document -- [ ] Detailed Backup/Restore document -- [ ] Troubleshooting document - -## v1.0.0-rc -- [ ] Architecture & design document -- [ ] Automate Chaos tests -- [ ] Bugfix - -## v1.0.0-ga: (2019-06-30) +## v1.0.0-rc.1 +- [x] HA deployment document +- [x] Monitor deployment document +- [x] Detailed Backup/Restore document +- [x] Troubleshooting document +- [x] Automate Chaos tests +- [x] Bugfix + +## v1.0.0-ga: (2019-07-26) - [ ] Stable for production deployment - -## v1.1.0: (2019-08-15) -- [ ] Deploy Lightning -- [ ] Deploy TiFlash beta +- [ ] Architecture & design document diff --git a/charts/tidb-cluster/values.yaml b/charts/tidb-cluster/values.yaml index 4962618226..bd89680c51 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.3 + image: pingcap/tidb-operator:v1.0.0-rc.1 imagePullPolicy: IfNotPresent resources: limits: diff --git a/charts/tidb-operator/values.yaml b/charts/tidb-operator/values.yaml index e5e5c2b5d9..17790363c9 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.3 +operatorImage: pingcap/tidb-operator:v1.0.0-rc.1 imagePullPolicy: IfNotPresent defaultStorageClassName: local-storage diff --git a/deploy/aws/README.md b/deploy/aws/README.md index 4a706869eb..db42c615cb 100644 --- a/deploy/aws/README.md +++ b/deploy/aws/README.md @@ -215,7 +215,7 @@ module example-cluster { # Monitor instance type monitor_instance_type = "t2.xlarge" # The version of tidb-cluster helm chart - tidb_cluster_chart_version = "v1.0.0-beta.3" + tidb_cluster_chart_version = "v1.0.0-rc.1" } module other-cluster { diff --git a/deploy/aws/tidb-cluster/variables.tf b/deploy/aws/tidb-cluster/variables.tf index 5c6e315232..08edbe04ec 100644 --- a/deploy/aws/tidb-cluster/variables.tf +++ b/deploy/aws/tidb-cluster/variables.tf @@ -100,7 +100,7 @@ variable "iam_path" { variable "tidb_cluster_chart_version" { description = "tidb-cluster chart version" - default = "v1.0.0-beta.3" + default = "v1.0.0-rc.1" } variable "cluster_name" { diff --git a/deploy/aws/tidb-operator/variables.tf b/deploy/aws/tidb-operator/variables.tf index 1d2aebceb3..cbb2233505 100644 --- a/deploy/aws/tidb-operator/variables.tf +++ b/deploy/aws/tidb-operator/variables.tf @@ -12,7 +12,7 @@ variable "eks_version" { variable "operator_version" { description = "TiDB Operator version" type = string - default = "v1.0.0-beta.3" + default = "v1.0.0-rc.1" } variable "operator_helm_values" { diff --git a/deploy/aws/variables.tf b/deploy/aws/variables.tf index 4364c2d2e3..d2b6e3aca9 100644 --- a/deploy/aws/variables.tf +++ b/deploy/aws/variables.tf @@ -19,7 +19,7 @@ variable "eks_version" { variable "operator_version" { description = "TiDB operator version" - default = "v1.0.0-beta.3" + default = "v1.0.0-rc.1" } variable "operator_values" { diff --git a/deploy/gcp/variables.tf b/deploy/gcp/variables.tf index 82996c09ed..04107c463c 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.3" + default = "v1.0.0-rc.1" } variable "tidb_operator_registry" { diff --git a/tests/manifests/stability/stability.yaml b/tests/manifests/stability/stability.yaml index f748ee4dc5..f7c5d88c2e 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.3 - - --operator-tag=v1.0.0-beta.3 + - --operator-image=pingcap/tidb-operator:v1.0.0-rc.1 + - --operator-tag=v1.0.0-rc.1 - --slack-webhook-url="" volumeMounts: - mountPath: /logDir