TiDB Operator 1.5.0-beta.1 Release Notes

Release date: April 11, 2023

TiDB Operator version: 1.5.0-beta.1

New Feature

  • Support using the tidb.pingcap.com/pd-transfer-leader annotation to restart PD Pod gracefully (#4896, @luohao)

  • Support using the tidb.pingcap.com/tidb-graceful-shutdown annotation to restart TiDB Pod gracefully (#4948, @wxiaomou)

  • Support managing TiCDC with Advanced StatefulSet (#4881, @charleszheng44)

  • Support managing TiProxy with Advanced StatefulSet (#4917, @xhebox)

  • Add a new field bootstrapSQLConfigMapName in the TiDB spec to specify an initialization SQL file on TiDB's first bootstrap (#4862, @fgksgf)

  • Allow users to define a strategy to restart failed backup jobs, enhancing backup stability (#4883, @WizardXiao) (#4925, @WizardXiao)

Improvements

  • Upgrade Kubernetes dependencies to v1.20 (#4954, @KanShiori)

  • Add the metrics for the reconciler and worker queue to improve observability (#4882, @hanlins)

  • When rolling upgrade TiKV Pods, TiDB Operator will wait for the leader to transfer back to the upgraded Pod before upgrading the next TiKV pod. This helps to reduce performance degradation during rolling upgrade (#4863, @KanShiori)

  • Allow users to customize Prometheus scraping settings (#4846, @coderplay)

  • Support sharing some of TiDB's certificates with TiProxy (#4880, @xhebox)

  • Configure the field ipFamilyPolicy as PreferDualStack for all components' Services when spec.preferIPv6 is set to true (#4959, @KanShiori)

  • Add the metrics for counting errors about the reconciliation to improve observability (#4952, @coderplay)

Bug fixes

  • Fix the issue that pprof endpoint is not reachable because the route conflicts with the metrics endpoint (#4874, @hanlins)

Was this page helpful?