From 982720cd563ece6dbebfc4c579b17fa66a93c550 Mon Sep 17 00:00:00 2001 From: weekface Date: Fri, 27 Dec 2019 18:05:52 +0800 Subject: [PATCH] Automated cherry pick of #1431: release v1.0.6 (#1437) --- CHANGELOG.md | 57 +++++++++++++++++++ charts/tidb-cluster/values.yaml | 2 +- charts/tidb-operator/values.yaml | 2 +- deploy/aliyun/variables.tf | 6 +- deploy/aws/variables.tf | 2 +- deploy/gcp/variables.tf | 2 +- .../modules/aliyun/tidb-cluster/variable.tf | 2 +- .../modules/aliyun/tidb-operator/variables.tf | 4 +- deploy/modules/aws/tidb-cluster/variables.tf | 2 +- deploy/modules/aws/tidb-operator/variables.tf | 2 +- deploy/modules/gcp/tidb-cluster/variables.tf | 2 +- deploy/modules/gcp/tidb-operator/variables.tf | 2 +- .../share/tidb-cluster-release/variables.tf | 2 +- tests/manifests/stability/stability.yaml | 4 +- 14 files changed, 74 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1851ac70b2a..32e0b38f548 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,60 @@ +# TiDB Operator v1.0.6 Release Notes + +## v1.0.6 What's New + +Action required: Users should migrate the configs in `values.yaml` of previous chart releases to the new `values.yaml` of the new chart. Otherwise, the monitor pods might fail when you upgrade the monitor with the new chart. + +For example, configs in the old `values.yaml` file: + +``` +monitor: + ... + initializer: + image: pingcap/tidb-monitor-initializer:v3.0.5 + imagePullPolicy: IfNotPresent + ... +``` + +After migration, configs in the new `values.yaml` file should be as follows: + +``` +monitor: + ... + initializer: + image: pingcap/tidb-monitor-initializer:v3.0.5 + imagePullPolicy: Always + config: + K8S_PROMETHEUS_URL: http://prometheus-k8s.monitoring.svc:9090 + ... +``` + +### Monitor + +- Enable alert rule persistence ([#898](https://github.com/pingcap/tidb-operator/pull/898)) +- Add node & pod info in TiDB Grafana ([#885](https://github.com/pingcap/tidb-operator/pull/885)) + +### TiDB Scheduler + +- Refine scheduler error messages ([#1373](https://github.com/pingcap/tidb-operator/pull/1373)) + +### Compatibility + +- Fix the compatibility issue in Kubernetes v1.17 ([#1241](https://github.com/pingcap/tidb-operator/pull/1241)) +- Bind the `system:kube-scheduler` ClusterRole to the `tidb-scheduler` service account ([#1355](https://github.com/pingcap/tidb-operator/pull/1355)) + +### TiKV Importer + +- Fix the default `tikv-importer` configuration ([#1415](https://github.com/pingcap/tidb-operator/pull/1415)) + +### E2E + +- Ensure pods unaffected when upgrading ([#955](https://github.com/pingcap/tidb-operator/pull/955)) + +### CI + +- Move the release CI script from Jenkins into the tidb-operator repository ([#1237](https://github.com/pingcap/tidb-operator/pull/1237)) +- Adjust the release CI script for the `release-1.0` branch ([#1320](https://github.com/pingcap/tidb-operator/pull/1320)) + # TiDB Operator v1.0.5 Release Notes ## v1.0.5 What's New diff --git a/charts/tidb-cluster/values.yaml b/charts/tidb-cluster/values.yaml index fccde9ab387..41be192f4e9 100644 --- a/charts/tidb-cluster/values.yaml +++ b/charts/tidb-cluster/values.yaml @@ -32,7 +32,7 @@ services: type: ClusterIP discovery: - image: pingcap/tidb-operator:v1.0.5 + image: pingcap/tidb-operator:v1.0.6 imagePullPolicy: IfNotPresent resources: limits: diff --git a/charts/tidb-operator/values.yaml b/charts/tidb-operator/values.yaml index 195d4f26ea5..3dcd8c5312d 100644 --- a/charts/tidb-operator/values.yaml +++ b/charts/tidb-operator/values.yaml @@ -12,7 +12,7 @@ rbac: timezone: UTC # operatorImage is TiDB Operator image -operatorImage: pingcap/tidb-operator:v1.0.5 +operatorImage: pingcap/tidb-operator:v1.0.6 imagePullPolicy: IfNotPresent defaultStorageClassName: local-storage diff --git a/deploy/aliyun/variables.tf b/deploy/aliyun/variables.tf index a5b78475396..d4899670c73 100644 --- a/deploy/aliyun/variables.tf +++ b/deploy/aliyun/variables.tf @@ -9,8 +9,8 @@ variable "bastion_cpu_core_count" { } variable "operator_version" { - type = string - default = "v1.0.5" + type = string + default = "v1.0.6" } variable "operator_helm_values" { @@ -40,7 +40,7 @@ variable "tidb_version" { } variable "tidb_cluster_chart_version" { description = "tidb-cluster chart version" - default = "v1.0.5" + default = "v1.0.6" } variable "pd_count" { diff --git a/deploy/aws/variables.tf b/deploy/aws/variables.tf index 2504db99508..cbf29cb32fa 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.5" + default = "v1.0.6" } variable "operator_values" { diff --git a/deploy/gcp/variables.tf b/deploy/gcp/variables.tf index 3b5bacf039a..d3b7b3c9879 100644 --- a/deploy/gcp/variables.tf +++ b/deploy/gcp/variables.tf @@ -16,7 +16,7 @@ variable "tidb_version" { } variable "tidb_operator_version" { - default = "v1.0.5" + default = "v1.0.6" } variable "tidb_operator_chart_version" { diff --git a/deploy/modules/aliyun/tidb-cluster/variable.tf b/deploy/modules/aliyun/tidb-cluster/variable.tf index f6e89ba7e0b..587806bcfef 100644 --- a/deploy/modules/aliyun/tidb-cluster/variable.tf +++ b/deploy/modules/aliyun/tidb-cluster/variable.tf @@ -17,7 +17,7 @@ variable "tidb_version" { variable "tidb_cluster_chart_version" { description = "tidb-cluster chart version" - default = "v1.0.5" + default = "v1.0.6" } variable "pd_count" { diff --git a/deploy/modules/aliyun/tidb-operator/variables.tf b/deploy/modules/aliyun/tidb-operator/variables.tf index cc7b1652b0f..b1c6b4f0fe8 100644 --- a/deploy/modules/aliyun/tidb-operator/variables.tf +++ b/deploy/modules/aliyun/tidb-operator/variables.tf @@ -21,8 +21,8 @@ variable "cluster_network_type" { } variable "operator_version" { - type = string - default = "v1.0.5" + type = string + default = "v1.0.6" } variable "operator_helm_values" { diff --git a/deploy/modules/aws/tidb-cluster/variables.tf b/deploy/modules/aws/tidb-cluster/variables.tf index 7220bb829fe..6b4846c009b 100644 --- a/deploy/modules/aws/tidb-cluster/variables.tf +++ b/deploy/modules/aws/tidb-cluster/variables.tf @@ -1,6 +1,6 @@ variable "tidb_cluster_chart_version" { description = "tidb-cluster chart version" - default = "v1.0.5" + default = "v1.0.6" } variable "create_tidb_cluster_release" { diff --git a/deploy/modules/aws/tidb-operator/variables.tf b/deploy/modules/aws/tidb-operator/variables.tf index 9d2c2b95317..5fd89979d84 100644 --- a/deploy/modules/aws/tidb-operator/variables.tf +++ b/deploy/modules/aws/tidb-operator/variables.tf @@ -12,7 +12,7 @@ variable "eks_version" { variable "operator_version" { description = "TiDB Operator version" type = string - default = "v1.0.5" + default = "v1.0.6" } variable "operator_helm_values" { diff --git a/deploy/modules/gcp/tidb-cluster/variables.tf b/deploy/modules/gcp/tidb-cluster/variables.tf index 64140043a4a..bff88f75ee5 100644 --- a/deploy/modules/gcp/tidb-cluster/variables.tf +++ b/deploy/modules/gcp/tidb-cluster/variables.tf @@ -5,7 +5,7 @@ variable "cluster_version" { } variable "tidb_cluster_chart_version" { description = "The TiDB cluster chart version" - default = "v1.0.5" + default = "v1.0.6" } variable "override_values" { description = "YAML formatted values that will be passed in to the tidb-cluster helm release" diff --git a/deploy/modules/gcp/tidb-operator/variables.tf b/deploy/modules/gcp/tidb-operator/variables.tf index 3e629abc0ca..aa69e85a614 100644 --- a/deploy/modules/gcp/tidb-operator/variables.tf +++ b/deploy/modules/gcp/tidb-operator/variables.tf @@ -28,7 +28,7 @@ variable "gke_version" { variable "tidb_operator_version" { description = "TiDB Operator version" type = string - default = "v1.0.5" + default = "v1.0.6" } variable "operator_helm_values" { diff --git a/deploy/modules/share/tidb-cluster-release/variables.tf b/deploy/modules/share/tidb-cluster-release/variables.tf index 26a9acff6a2..2c42b3ab1b9 100644 --- a/deploy/modules/share/tidb-cluster-release/variables.tf +++ b/deploy/modules/share/tidb-cluster-release/variables.tf @@ -5,7 +5,7 @@ variable "kubeconfig_filename" { variable "tidb_cluster_chart_version" { description = "tidb-cluster chart version" - default = "v1.0.5" + default = "v1.0.6" } variable "create" { diff --git a/tests/manifests/stability/stability.yaml b/tests/manifests/stability/stability.yaml index 3c4aa12b724..0e0f37d4acd 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.5 - - --operator-tag=v1.0.5 + - --operator-image=pingcap/tidb-operator:v1.0.6 + - --operator-tag=v1.0.6 - --slack-webhook-url="" volumeMounts: - mountPath: /logDir