Databases 9 min read

Unlocking Cloud TiDB: Kubernetes‑Powered Scaling for Distributed NewSQL

This article explains how Cloud TiDB, a cloud‑native NewSQL database launched by UCloud and PingCAP, leverages Kubernetes integration, operators, and custom volume management to provide elastic scaling, high availability, and efficient lifecycle management for distributed workloads.

UCloud Tech
UCloud Tech
UCloud Tech
Unlocking Cloud TiDB: Kubernetes‑Powered Scaling for Distributed NewSQL

UCloud and PingCAP have partnered to launch Cloud TiDB, a cloud‑native version of the open‑source NewSQL database TiDB, now in public beta on UCloud’s global data centers.

Differences from Traditional Relational Databases

TiDB is a distributed, strongly consistent database that supports elastic scaling without impacting running applications, unlike single‑node relational databases.

TiDB Architecture

TiDB consists of three core components:

TiDB : SQL parser, optimizer, and client interface.

TiKV : Distributed key‑value storage engine providing horizontal scaling and multi‑replica high availability.

PD (Placement Driver) : Cluster metadata manager and scheduler that balances load and maintains system stability.

Each component runs as a multi‑node cluster, forming the overall TiDB architecture illustrated below.

Kubernetes Integration

As a cloud‑native database, TiDB embraces container technology and integrates deeply with Kubernetes, enabling automated deployment, scaling, and lifecycle management via the tidb-operator. This integration allows TiDB to run efficiently on any Kubernetes‑enabled cloud platform.

Kubernetes Basics and Stateful Services

Kubernetes, originally designed for stateless workloads, has evolved to support stateful services through StatefulSet and the Operator pattern, providing stable network identities and persistent storage for databases.

TiDB Operators and Volume Management

The tidb-operator manages creation, deletion, scaling, rolling upgrades, and failover of TiDB clusters on Kubernetes. To meet TiDB’s high I/O demands, a custom tidb-volume-manager exposes local disks as a special PersistentVolume type, allowing TiDB pods to use local storage while handling lifecycle and garbage‑collection automatically.

The combined components form the overall Cloud TiDB architecture, delivering a DBaaS solution that seamlessly integrates a distributed NewSQL database with cloud infrastructure.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

KubernetesTiDBoperatorsCloud-ComputingDistributed-Database
UCloud Tech
Written by

UCloud Tech

UCloud is a leading neutral cloud provider in China, developing its own IaaS, PaaS, AI service platform, and big data exchange platform, and delivering comprehensive industry solutions for public, private, hybrid, and dedicated clouds.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.