All Projects → aliyx → Tidb Operator

aliyx / Tidb Operator

Tidb-operator creates/configures/manages tidb clusters atop Kubernetes

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Tidb Operator

newsql nosql library
整理12种数据库相关资料,mysql,mariaDB,Percona Server,MongoDB,Redis,RocksDB,TiDB,CouchDB,Cassandra,TokuDB,MemDB,Oceanbase
Stars: ✭ 270 (+558.54%)
Mutual labels:  tidb
transferdb
TransferDB 支持异构数据库 schema 转换、全量数据导出导入以及增量数据同步功能( Oracle 数据库 -> MySQL/TiDB 数据库)
Stars: ✭ 30 (-26.83%)
Mutual labels:  tidb
Sqlancer
Detecting Logic Bugs in DBMS
Stars: ✭ 672 (+1539.02%)
Mutual labels:  tidb
tidb-docs-jp
TiDB docs in Japanese
Stars: ✭ 14 (-65.85%)
Mutual labels:  tidb
TiDB-A-Raft-based-HTAP-Database
Unofficial! English original and Chinese translation of the paper.
Stars: ✭ 42 (+2.44%)
Mutual labels:  tidb
go-sqlancer
go-sqlancer
Stars: ✭ 61 (+48.78%)
Mutual labels:  tidb
TiBigData
TiDB connectors for Flink/Hive/Presto
Stars: ✭ 192 (+368.29%)
Mutual labels:  tidb
Tidb Operator
TiDB operator creates and manages TiDB clusters running in Kubernetes.
Stars: ✭ 778 (+1797.56%)
Mutual labels:  tidb
flink-tidb-rdw
A sample of Flink TiDB Realtime Datawarehouse.
Stars: ✭ 71 (+73.17%)
Mutual labels:  tidb
Dnc
dnc 去中心化 开源社区 轻联盟 dncto.com QQ群 779699538
Stars: ✭ 551 (+1243.9%)
Mutual labels:  tidb
tidb-dashboard
A Web UI for monitoring, diagnosing and managing the TiDB cluster.
Stars: ✭ 136 (+231.71%)
Mutual labels:  tidb
tiflow
This repo maintains DM (a data migration platform) and TiCDC (change data capture for TiDB)
Stars: ✭ 282 (+587.8%)
Mutual labels:  tidb
Redis Articles
Redis相关文章每日精选~
Stars: ✭ 307 (+648.78%)
Mutual labels:  tidb
fense
Fense is a database proxy written in Java, which can connect DB of different engines at the same time. The key features are: authority management, query cache, audit security, current limiting fuse, onesql and so on
Stars: ✭ 22 (-46.34%)
Mutual labels:  tidb
Tidb
TiDB is an open source distributed HTAP database compatible with the MySQL protocol
Stars: ✭ 29,871 (+72756.1%)
Mutual labels:  tidb
TiDB-for-PostgreSQL
PgSQL compatible on distributed database TiDB
Stars: ✭ 350 (+753.66%)
Mutual labels:  tidb
PingCAP
Scripts for TiDB
Stars: ✭ 13 (-68.29%)
Mutual labels:  tidb
Goinception
一个集审核、执行、备份及生成回滚语句于一身的MySQL运维工具
Stars: ✭ 905 (+2107.32%)
Mutual labels:  tidb
Xorm
Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,mssql,oracle, Moved to https://gitea.com/xorm/xorm
Stars: ✭ 6,464 (+15665.85%)
Mutual labels:  tidb
Docs
TiDB/TiKV/PD documentation.
Stars: ✭ 422 (+929.27%)
Mutual labels:  tidb

Tidb-operator

tidb-operator manage multiple tidb cluster atop Kubernetes, support multi-tenant, and online scale up or dowm, rolling upgrades, multiple disk mount points, full / incremental migrate data to tidb cluster, all operations web.

Note: Currently only support kubernetes version is 1.7, all port ranges [10000-15000). Only provide restful api, easy to integrate into the existing web frame.

Build images

Build all docker images and push to your private docker registry, default version is latest:

make build && make push

Preparedness

Install kubernetes if have already installed, skip this step

Note: Due to GFW reasons, some installation packages and images can not be obtained, you need to download to the local upload to the specified server and then install. See: kubernetes ./kubernetes/deploy directory.

Access kubernetes dashboard: http://<NodeIP>:10281

Download source code to loacal

Git clone the project to $GOPATH/src/github/ffan dir

Deploy prometheus/grafana on kubernetes

make install-grafana # run this shell on kubernetes master

Access grafana: http://<NodeIP>:12802, user&password is admin/admin.

Startup tidb-operator

To start on kubernetes cluster

make install-tidb-operator # run this shell on kubernetes master

Development

cd ./operator && ln -s swagger ../swagger # ln swagger to `./tidb-operator`
# beego, set the kubenetes API server endpoint before running,
# for example `export K8S_ADDRESS=http://10.213.131.54:10218` or midify restart.sh
bee run -downdoc=true
# or
./restart.sh

Access endpoint: http://127.0.0.1:12808/swagger

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].