TiDB Operator 1.1.5 Release Notes
发布日期:2020 年 9 月 18 日
TiDB Operator 版本:1.1.5
兼容性变化
- 如果 TiFlash 版本低于
v4.0.5,请在将 TiDB Operator 升级到 v1.1.5 和更高版本之前,在 TidbCluster CR 中设置spec.tiflash.config.config.flash.service_addr为{clusterName}-tiflash-POD_NUM.{clusterName}-tiflash-peer.{namespace}.svc:3930({clusterName}和{namespace}需要改为集群实际值)。如果这时需要将 TiFlash 升级到v4.0.5或更高版本,请同时在 TidbCluster CR 中删除spec.tiflash.config.config.flash.service_addr项 (#3191, @DanielZhangQD)
新功能
- 支持为 TiDB/Pump/PD 配置
serviceAccount(#3246, @july2993) - 支持配置
spec.tikv.config.log-format和spec.tikv.config.server.max-grpc-send-msg-len(#3199, @kolbe) - 支持配置 TiDB 的 labels 参数 (#3188, @howardlau1999)
- 支持从 TiFlash/TiKV 的 failover 中恢复 (#3189, @DanielZhangQD)
- 为 PD/TiKV 添加
mountClusterClientSecret配置,该值为 true 时 Operator 会将${cluster_name}-cluster-client-secret挂载到 PD/TiKV 容器 (#3282, @DanielZhangQD)
优化提升
- 支持 TiDB/PD/TiKV 的 v4.0.6 配置 (#3180, @lichunzhu)
- 挂载集群客户端证书到 PD Pod (#3248, @weekface)
- 对于 TiFlash/PD/TiDB,使伸缩实例优先于升级,避免升级失败时无法扩缩容 Pod (#3187, @lichunzhu)
- Pump 支持
imagePullSecrets配置 (#3214, @weekface) - 更新 TiFlash 的默认配置项 (#3191, @DanielZhangQD)
- 移除 TidbMonitor CR 的 ClusterRole 资源 (#3190, @weekface)
- 不再重启 Helm 部署的正常退出的 Drainer (#3151, @lichunzhu)
- tidb-scheduler 高可用策略将 failover pod 纳入考虑 (#3171, @cofyc)