Skip to content

Commit

Permalink
Merge branch 'release-1.0' into automated-cherry-pick-of-pingcap#1501-…
Browse files Browse the repository at this point in the history
…release-1.0
  • Loading branch information
sre-bot authored Jan 15, 2020
2 parents 3a4ecff + 982720c commit 21b976f
Show file tree
Hide file tree
Showing 14 changed files with 74 additions and 17 deletions.
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/tidb-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
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 @@ -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
Expand Down
6 changes: 3 additions & 3 deletions deploy/aliyun/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down Expand Up @@ -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" {
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.5"
default = "v1.0.6"
}

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 @@ -16,7 +16,7 @@ variable "tidb_version" {
}

variable "tidb_operator_version" {
default = "v1.0.5"
default = "v1.0.6"
}

variable "tidb_operator_chart_version" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/aliyun/tidb-cluster/variable.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
4 changes: 2 additions & 2 deletions deploy/modules/aliyun/tidb-operator/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/aws/tidb-cluster/variables.tf
Original file line number Diff line number Diff line change
@@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/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.5"
default = "v1.0.6"
}

variable "operator_helm_values" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/gcp/tidb-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/gcp/tidb-operator/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/share/tidb-cluster-release/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
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.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
Expand Down

0 comments on commit 21b976f

Please sign in to comment.