You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/blog/2020/05.27-PingCAPs-Experience.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Its flagship project, [TiDB](https://en.wikipedia.org/wiki/TiDB), is a cloud-nat
24
24
25
25
PingCAP envisioned their managed TiDB service, known as [TiDB Cloud](https://pingcap.com/tidb-cloud/sign-up/), to be multi-tenant, secure, cost-efficient, and to be compatible with different cloud providers. As a result, the company turned to Gardener to build their managed TiDB cloud service offering.
@@ -34,7 +34,7 @@ Previously, PingCAP encountered issues while using other public managed K8s clus
34
34
35
35
There was also a lot of cloud-specific integration work needed to follow a multi-cloud strategy, which proved to be expensive both to produce and maintain. With one of these managed K8s services, you would have to integrate the instance API, as opposed to a solution like Gardener, which provides a unified API for all clouds. Such a unified API eliminates the need to worry about cloud specific-integration work altogether.
### Why PingCAP Chose Gardener to Build TiDB Cloud
40
40
@@ -48,11 +48,11 @@ They recognized that Gardener would be their best option, as it is highly extens
48
48
49
49
They agreed that Gardener’s solution, although complex, was definitely worth it. Even though it is a relatively new solution, meaning they didn’t have access to other user testimonials, they decided to go with the service since it checked all the boxes (and as SAP was running it productively with a huge fleet). PingCAP also came to the conclusion that building a managed Kubernetes service themselves would not be easy. Even if they were to build a managed K8s service, they would have to heavily invest in development and would still end up with an even more complex platform than Gardener’s. For all these reasons combined, PingCAP decided to go with Gardener to build its TiDB Cloud.
Here are certain features of Gardener that PingCAP found appealing:
54
54
55
-
-**Cloudagnostic:** Gardener’s abstractions for cloud-specific integrations dramatically reduce the investment in supporting more than one cloud infrastructure. Once the integration with Amazon Web Services was done, moving on to Google Cloud Platform proved to be relatively easy. (At the moment, TiDB Cloud has subscription plans available for both GCP and AWS, and they are planning to support Alibaba Cloud in the future.)
55
+
-**Cloud-agnostic:** Gardener’s abstractions for cloud-specific integrations dramatically reduce the investment in supporting more than one cloud infrastructure. Once the integration with Amazon Web Services was done, moving on to Google Cloud Platform proved to be relatively easy. (At the moment, TiDB Cloud has subscription plans available for both GCP and AWS, and they are planning to support Alibaba Cloud in the future.)
56
56
-**Familiar concepts:** Gardener is K8s native; its concepts are easily related to core Kubernetes concepts. As such, it was easy to onboard for a K8s experienced team like PingCAP’s SRE team.
57
57
-**Easy to manage and extend:** Gardener’s API and extensibility are easy to implement, which has a positive impact on the implementation, maintenance costs and time-to-market.
58
58
-**Active community:** Prompt and quality responses on Slack from the Gardener team tremendously helped to quickly onboard and produce an efficient solution.
@@ -70,7 +70,7 @@ As a real world example, PingCAP sets up the Base Cluster and Seed Clusters in a
70
70
71
71
To automate these processes, PingCAP creates a service in the Base Cluster, known as the TiDB Cloud “Central” service. The Central is responsible for managing shoots and the TiDB clusters in the Shoot Clusters. As shown in the following diagram, user operations go to the Central, being authenticated, authorized, validated, stored and then applied asynchronously in a controller manner. The Central will talk to the Gardener API Server to create and scale Shoot clusters. The Central will also access the Shoot API Service to deploy and reconcile components in the Shoot cluster, including control components ([TiDB Operator](https://github.com/pingcap/tidb-operator), API Proxy, Usage Reporter for billing, etc.) and the TiDB clusters.
72
72
73
-
<imgtitle="TiDB Cloud on Gardener Architecture Overview"src="./images/00-004.png"style="width:90%; height:auto">
73
+
<imgtitle="TiDB Cloud on Gardener Architecture Overview"src="./images/pingcap/00-004.png"style="width:90%; height:auto">
74
74
<figcaptionstyle="text-align:center;margin-top: -25px;margin-bottom: 30px;font-size: 90%;">TiDB Cloud on Gardener Architecture Overview</figcaption>
0 commit comments