Skip to content
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

release v1.0.0-rc.1 #654

Merged
merged 1 commit into from
Jul 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
26 changes: 10 additions & 16 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion charts/tidb-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/tidb-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deploy/aws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion deploy/aws/tidb-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/aws/tidb-operator/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/aws/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/gcp/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
4 changes: 2 additions & 2 deletions tests/manifests/stability/stability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down