Operator and CRD lifecycle
Version-aware installation, resource ownership, reconciliation behavior, admission controls, upgrade ordering, and rollback preparation.
Free Database Audit: Get a comprehensive health report for your database - no obligation, NDA protected
Learn MoreSchedule AuditTiDB Operator engineering
In short: TiDB on Kubernetes uses TiDB Operator to reconcile database components and supported lifecycle resources. JusDB DBREs design TidbCluster topology, storage, scheduling, upgrades, backup and restore, observability, and failure tests, while defining the DBA and platform-team responsibilities that Kubernetes automation does not replace.
The goal is a testable operating model for PD, TiKV, TiDB, and optional TiFlash—not simply a successful Helm install or a set of healthy pods.
Version-aware installation, resource ownership, reconciliation behavior, admission controls, upgrade ordering, and rollback preparation.
Node pools, zones, affinity, topology spread, disruption controls, requests, limits, and maintenance headroom for every TiDB component.
StorageClass benchmarking, durability and attachment review, volume growth, replacement, snapshots, encryption, and failure rehearsal.
Supported backup resources, object storage, credentials, retention, job monitoring, isolated restores, evidence, and recovery runbooks.
Preflight checks, release compatibility, staged rollout, health gates, rebalance observation, rollback triggers, and post-change verification.
SLO signals, alerts, capacity forecasts, failure games, access controls, incident procedures, and or DBA ownership handoff.
Queries, transactions, replica health, capacity, storage, and alerts meet defined workload thresholds.
Scale and upgrade procedures have preflight, health, pause, rollback, and verification gates.
Pod, node, volume, zone, and control-plane scenarios are rehearsed with application observations.
An isolated restore proves data scope, consistency, access, duration, and the runbook used by on-call staff.
TiDB Operator extends Kubernetes with custom resources and controllers for TiDB clusters and related lifecycle tasks. It reconciles components such as PD, TiKV, TiDB, and optional TiFlash, plus supported backup, restore, and monitoring resources. The exact resource APIs and supported procedures depend on the installed Operator release and must be checked before upgrades.
No. Reconciliation automates declared lifecycle actions, but teams still own topology, capacity, storage, scheduling, disruption budgets, version compatibility, backup validation, credentials, observability, incident response, and application behavior. A healthy Kubernetes object is not evidence that query latency, data recovery, quorum, or business objectives are being met.
Storage selection starts with latency, throughput, durability, failure domains, attachment behavior, expansion, replacement, snapshots, and recovery procedures. TiKV replicas provide database-level redundancy, but they do not remove storage or cluster failure risks. We benchmark the candidate StorageClass and rehearse pod, node, volume, and zone failures before production acceptance.
We map each component's resource profile and quorum or replica constraints to node pools, zones, affinity, anti-affinity, topology spread, taints, requests, limits, and maintenance capacity. TiKV and TiFlash storage and CPU behavior differ from stateless TiDB servers. PD quorum placement is reviewed separately from application traffic distribution.
Scaling is declarative, but impact is workload- and operation-specific. Adding or removing capacity can trigger scheduling, data movement, replica work, cache changes, and temporary resource pressure. We define headroom and acceptance thresholds, stage changes, observe rebalance behavior, and keep rollback or pause criteria rather than promising an interruption-free result.
We select a supported TiDB Operator backup path and storage target, protect credentials, define retention, monitor jobs, and perform restores into an isolated environment. Validation checks data scope, consistency, schema, application access, duration, capacity, and operational steps. A completed backup job is not treated as proof of recoverability.
Review scope: TiDB Operator reconciliation, TidbCluster resources, component scheduling, storage, topology, backups, upgrades, monitoring, disruption controls, and recovery testing. Recommendations and outcomes depend on the TiDB release, workload, data, topology, infrastructure, and tested failure conditions; no generic performance, availability, migration interruption, or savings result is promised.
Technically reviewed by the JusDB Database Reliability Engineering team. Last reviewed: . See the team and roles.
Official architecture for TiDB Operator controllers and the resources they manage.
Primary stable deployment guidance for namespaces, prepared TidbCluster configuration, and cluster access.
Official backup and restore workflow, prerequisites, and supported storage choices.
Explore more ways our TiDB experts can help with your database infrastructure.