diff --git a/en/TOC.md b/en/TOC.md index 3f14ff97eb..d682dc22e9 100644 --- a/en/TOC.md +++ b/en/TOC.md @@ -86,6 +86,7 @@ - [Log Collection](logs-collection.md) + Release Notes + v1.1 + - [1.1.8](releases/release-1.1.8.md) - [1.1.7](releases/release-1.1.7.md) - [1.1.6](releases/release-1.1.6.md) - [1.1.5](releases/release-1.1.5.md) diff --git a/en/releases/release-1.1.8.md b/en/releases/release-1.1.8.md new file mode 100644 index 0000000000..fbbc54e73d --- /dev/null +++ b/en/releases/release-1.1.8.md @@ -0,0 +1,32 @@ +--- +title: TiDB Operator 1.1.8 Release Notes +--- + +# TiDB Operator 1.1.8 Release Notes + +Release date: December 21, 2020 + +TiDB Operator version: 1.1.8 + +## New Features + +- Support arbitrary Volume and VolumeMount for `PD`, `TiDB`, `TiKV`, `TiFlash`, `Backup` and `Restore`, which enables using NFS or any other kubernetes supported volume source for backup/restore workflow ([#3517](https://github.com/pingcap/tidb-operator/pull/3517), [@dragonly](https://github.com/dragonly)) + +## Improvements + +- Support cluster and client TLS for `tidb-lightning` and `tikv-importer` helm charts ([#3598](https://github.com/pingcap/tidb-operator/pull/3598), [@csuzhangxc](https://github.com/csuzhangxc)) +- Support setting additional ports for the TiDB service. Users can utilize this feature to implement customized services, e.g. additional health check ([#3599](https://github.com/pingcap/tidb-operator/pull/3599), [@handlerww](https://github.com/handlerww)) +- Support skipping TLS when connecting `TidbInitializer` to TiDB Server ([#3564](https://github.com/pingcap/tidb-operator/pull/3564), [@LinuxGit](https://github.com/LinuxGit)) +- Support tableFilters for restoring data using TiDB Lightning ([#3521](https://github.com/pingcap/tidb-operator/pull/3521), [@sstubbs](https://github.com/sstubbs)) +- Support Prometheus to scrape metrics data from multiple TiDB clusters ([#3622](https://github.com/pingcap/tidb-operator/pull/3622), [@mikechengwei](https://github.com/mikechengwei)) + + ACTION REQUIRED: If `TidbMonitor` CRs are deployed, update the `spec.initializer.version` to `v4.0.9` after upgrading TiDB Operator to v1.1.8, or some metrics will not be shown correctly in the Grafana dashboards. Prometheus crape job names are changed from `${component}` to `${namespace}-${TidbCluster Name}-${component}`. +- `component` label is added to the scrape jobs of Prometheus in `TidbMonitor` ([#3609](https://github.com/pingcap/tidb-operator/pull/3609), [@mikechengwei](https://github.com/mikechengwei)) + +## Bug Fixes + +- Fix the issue that TiDB cluster fails to deploy if `spec.tikv.storageVolumes` is configured ([#3586](https://github.com/pingcap/tidb-operator/pull/3586), [@mikechengwei](https://github.com/mikechengwei)) +- Fix codecs error for non-ASCII character password in the `TidbInitializer` job ([#3569](https://github.com/pingcap/tidb-operator/pull/3569), [@handlerww](https://github.com/handlerww)) +- Fix the issue that TiFlash Pods are misrecognized as TiKV Pods. The original issue can potentially cause TiDB Operator to scale in TiKV Pods to a number smaller than `tikv.replicas`, when there are TiFlash Pods in the `TidbCluster` ([#3514](https://github.com/pingcap/tidb-operator/pull/3514), [@handlerww](https://github.com/handlerww)) +- Fix the issue that deploying `Backup` CR without `spec.from` configured will crash `tidb-controller-manager` Pod when TLS is enabled for TiDB client ([#3535](https://github.com/pingcap/tidb-operator/pull/3535), [@dragonly](https://github.com/dragonly)) +- Fix the issue that TiDB Lightning doesn't log to stdout ([#3617](https://github.com/pingcap/tidb-operator/pull/3617), [@csuzhangxc](https://github.com/csuzhangxc)) diff --git a/zh/TOC.md b/zh/TOC.md index fa54fcc359..a18a9c4542 100644 --- a/zh/TOC.md +++ b/zh/TOC.md @@ -86,6 +86,7 @@ - [日志收集](logs-collection.md) + 版本发布历史 + v1.1 + - [1.1.8](releases/release-1.1.8.md) - [1.1.7](releases/release-1.1.7.md) - [1.1.6](releases/release-1.1.6.md) - [1.1.5](releases/release-1.1.5.md) diff --git a/zh/releases/release-1.1.8.md b/zh/releases/release-1.1.8.md new file mode 100644 index 0000000000..4ea84007e1 --- /dev/null +++ b/zh/releases/release-1.1.8.md @@ -0,0 +1,32 @@ +--- +title: TiDB Operator 1.1.8 Release Notes +--- + +# TiDB Operator 1.1.8 Release Notes + +发布日期:2020 年 12 月 21 日 + +TiDB Operator 版本:1.1.8 + +## 新功能 + +- 支持为 `PD`、`TiDB`、`TiKV`、`TiFlash`、`Backup` 和 `Restore` 指定任意 Volume 和 VolumeMount,用户可以利用该功能实现基于 NFS 或者任意 Kubernetes 支持的 Volume 类型的备份和恢复任务。([#3517](https://github.com/pingcap/tidb-operator/pull/3517), [@dragonly](https://github.com/dragonly)) + +## 优化提升 + +- 支持在 `tidb-lightning` 和 `tikv-importer` helm charts 中为 TiDB 组件和客户端开启 TLS 的功能。([#3598](https://github.com/pingcap/tidb-operator/pull/3598), [@csuzhangxc](https://github.com/csuzhangxc)) +- 支持为 TiDB service 指定额外的端口。用户可以利用该功能实现自定义服务,如额外的健康检查机制。([#3599](https://github.com/pingcap/tidb-operator/pull/3599), [@handlerww](https://github.com/handlerww)) +- 支持在 `TidbInitializer` 连接 TiDB server 时不使用 TLS。([#3564](https://github.com/pingcap/tidb-operator/pull/3564), [@LinuxGit](https://github.com/LinuxGit)) +- 支持 TiDB Lightning 恢复数据时使用 tableFilters 进行过滤。([#3521](https://github.com/pingcap/tidb-operator/pull/3521), [@sstubbs](https://github.com/sstubbs)) +- 支持 Prometheus 从多个 TiDB cluster 抓取 metrics 数据。([#3622](https://github.com/pingcap/tidb-operator/pull/3622), [@mikechengwei](https://github.com/mikechengwei)) + + 需要手动操作:如果已经部署了 `TidbMonitor` CR,在升级到 TiDB Operator v1.1.8 之后,需要升级 `spec.initializer.version` 字段到 `v4.0.9`,否则有的 metric 在 Grafana 面板上将不会正确显示。Prometheus 抓取 job 名字从 `${component}` 改成了 `${namespace}-${TidbCluster Name}-${component}`。 +- `TidbMonitor` 中的 Prometheus job 新增了 `component` label。([#3609](https://github.com/pingcap/tidb-operator/pull/3609), [@mikechengwei](https://github.com/mikechengwei)) + +## Bug 修复 + +- 修复当配置了 `spec.tikv.storageVolumes` 时,无法部署 TiDB 集群的问题。([#3586](https://github.com/pingcap/tidb-operator/pull/3586), [@mikechengwei](https://github.com/mikechengwei)) +- 修复在 `TidbInitializer` 任务中使用包含非 ASCII 字符密码时的编码错误。([#3569](https://github.com/pingcap/tidb-operator/pull/3569), [@handlerww](https://github.com/handlerww)) +- 修复 TiFlash Pods 会被误认为 TiKV Pods 的问题。该问题会导致当同一个 `TidbCluster` 中部署了 TiFlash 实例时,TiDB Operator 可能将 TiKV 实例缩容到小于 `tikv.replicas` 的数字。([#3514](https://github.com/pingcap/tidb-operator/pull/3514), [@handlerww](https://github.com/handlerww)) +- 修复在开启 TiDB 客户端 TLS 功能的情况下,如果不配置 `spec.from`,部署 `Backup` CR 会导致 `tidb-controller-manager` Pod 崩溃的问题。([#3535](https://github.com/pingcap/tidb-operator/pull/3535), [@dragonly](https://github.com/dragonly)) +- 修复了 TiDB Lightning 不打印日志到 stdout 的问题。([#3617](https://github.com/pingcap/tidb-operator/pull/3617), [@csuzhangxc](https://github.com/csuzhangxc))