You can use TiDB Operator to deploy TiDB clusters in Kubernetes. TiDB Operator is an automatic operation system for TiDB clusters in Kubernetes. It provides full life-cycle management for TiDB including deployment, upgrades, scaling, backup, fail-over, and configuration changes. With TiDB Operator, TiDB can run seamlessly in the Kubernetes clusters deployed on a public or private cloud.
The corresponding relationship between TiDB Operator and TiDB versions is as follows:
|TiDB versions||Compatible TiDB Operator versions|
|TiDB >= 5.4||1.3|
|5.1 <= TiDB < 5.4||1.3 (Recommended), 1.2|
|3.0 <= TiDB < 5.1||1.3 (Recommended), 1.2, 1.1|
|2.1 <= TiDB < v3.0||1.0 (End of support)|