TiDB Deployment on Kubernetes

TiDB Operator manages TiDB clusters on Kubernetes and automates tasks related to operating a TiDB cluster. It makes TiDB a truly cloud-native database.


Currently, TiDB Operator is work in progress [WIP] and is NOT ready for production. Use at your own risk.

Google Kubernetes Engine (GKE)

The TiDB Operator tutorial for GKE runs directly in the Google Cloud Shell.

AWS Elastic Kubernetes Service (EKS)

Deploy a running TiDB Cluster on EKS using a combination of Terraform and TiDB Operator.

Continue reading tutorial on GitHub

Local installation using Docker in Docker

Docker in Docker (DinD) runs Docker containers as virtual machines and runs another layer of Docker containers inside the first layer of Docker containers. kubeadm-dind-cluster uses this technology to run the Kubernetes cluster in Docker containers. TiDB Operator uses a modified DinD script to manage the DinD Kubernetes cluster.

Continue reading tutorial on GitHub