Skip to content

Commit

Permalink
op-guide: Add Kubernetes Deployment (#593)
Browse files Browse the repository at this point in the history
* Add GKE Deployment

* Added GKE Tutorial

* Renamed to Kubernetes

* Update README.md

* Update README.md

* Changed to Kubernetes generic

* Update kubernetes.md
  • Loading branch information
morgo authored and lilin90 committed Sep 5, 2018
1 parent 6f6ccc0 commit c87fa29
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
- [Docker Deployment](op-guide/docker-deployment.md)
- [Docker Compose Deployment](op-guide/docker-compose.md)
- [Cross-Region Deployment](op-guide/location-awareness.md)
- [Kubernetes Deployment](op-guide/kubernetes.md)
+ Configure
- [Configuration Flags](op-guide/configuration.md)
- [Configuration File Description](op-guide/tidb-config-file.md)
Expand Down
24 changes: 24 additions & 0 deletions op-guide/kubernetes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: TiDB Deployment on Kubernetes
summary: Use TiDB Operator to quickly deploy a TiDB cluster on Kubernetes
category: operations
---

# TiDB Deployment on Kubernetes

[TiDB Operator](https://github.com/pingcap/tidb-operator) manages TiDB clusters on [Kubernetes](https://kubernetes.io)
and automates tasks related to operating a TiDB cluster. It makes TiDB a truly cloud-native database.

> **Warning:** 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.

[![Open in Cloud Shell](https://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/pingcap/tidb-operator&tutorial=docs/google-kubernetes-tutorial.md)

## Local install 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 →](https://github.com/pingcap/tidb-operator/blob/master/docs/local-dind-tutorial.md)

0 comments on commit c87fa29

Please sign in to comment.