TiDB Operator 1.1.7 Release Notes
Release date: November 13, 2020
TiDB Operator version: 1.1.7
Compatibility Changes
The behavior of
prometheus.spec.config.commandOptionshas changed. Any duplicated flags must be removed, or Prometheus will fail to start. (#3390, @mightyguava)Flags that CANNOT be set are:
--web.enable-admin-api--web.enable-lifecycle--config.file--storage.tsdb.path--storage.tsdb.retention
New Features
- Support
spec.toolImagefor theBackupandRestoreCR with BR to define the image used to provide the BR binary executables. Defaults topingcap/br:${tikv_version}(#3471, @namco1992) - Add
spec.tidb.storageVolumes,spec.tikv.storageVolumes, andspec.pd.storageVolumesto support mounting multiple PVs for TiDB, TiKV, and PD (#3425 #3444, @mikechengwei) - Add
spec.tidb.readinessProbeconfig to support requestinghttp://127.0.0.0:10080/statusfor TiDB's readiness probe, TiDB version >= v4.0.9 required (#3438, @july2993) - Support PD leader transfer with advanced StatefulSet controller enabled (#3395, @tangwz)
- Support setting
OnDeleteupdate strategies for the StatefulSets viaspec.statefulSetUpdateStrategyin the TidbCluster CR (#3408, @cvvz) - Support HA scheduling when failover happens (#3419, @cvvz)
- Support smooth migration from TiDB clusters deployed using TiDB Ansible or TiUP or deployed in the same Kubernetes cluster to a new TiDB cluster (#3226, @cvvz)
- tidb-scheduler supports advanced StatefulSet (#3388, @cvvz)
Improvements
- Forbid to scale in TiKV when the number of UP stores is equal to or less than 3 (#3367, @cvvz)
phaseis added inBackupStatusandRestoreStatus, which will be in sync with the latest condition type and shown when doingkubectl get(#3397, @namco1992)- Skip setting
tikv_gc_life_timevia SQL for backup and restore with BR when the TiKV version >= v4.0.8 (#3443, @namco1992)