tidb-operator

module
v1.1.0-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2020 License: Apache-2.0

README

TiDB Operator

Build Status codecov LICENSE Language Go Report Card GitHub release GoDoc

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

TiDB Operator Architecture

Features

  • Safely scaling the TiDB cluster

    TiDB Operator empowers TiDB with horizontal scalability on the cloud.

  • Rolling update of the TiDB cluster

    Gracefully perform rolling updates for the TiDB cluster in order, achieving zero-downtime of the TiDB cluster.

  • Multi-tenant support

    Users can deploy and manage multiple TiDB clusters on a single Kubernetes cluster easily.

  • Automatic failover

    TiDB Operator automatically performs failover for your TiDB cluster when node failures occur.

  • Kubernetes package manager support

    By embracing Kubernetes package manager Helm, users can easily deploy TiDB clusters with only one command.

  • Automatically monitoring TiDB cluster at creating

    Automatically deploy Prometheus, Grafana for TiDB cluster monitoring.

Roadmap

Read the Roadmap.

Quick start

Read the Quick Start Guide, which includes all the guides for managing TiDB clusters in Kubernetes.

Documentation

All the TiDB Operator documentation is maintained in the docs-tidb-operator repository. You can also see the documentation at PingCAP website:

Contributing

Contributions are welcome and greatly appreciated. See CONTRIBUTING.md for details on submitting patches and the contribution workflow.

License

TiDB is under the Apache 2.0 license. See the LICENSE file for details.

Directories

Path Synopsis
cmd
misc
pkg
apis/pingcap/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
apiserver/apis
Package apis hosts all apis of aa +domain=pingcap.com
Package apis hosts all apis of aa +domain=pingcap.com
apiserver/apis/tidb
Package tidb is the internal version of the tidb.pingcap.com api group.
Package tidb is the internal version of the tidb.pingcap.com api group.
apiserver/apis/tidb/v1alpha1
Package v1alpha1 the v1alpha1 version of the tidb.pingcap.com api group.
Package v1alpha1 the v1alpha1 version of the tidb.pingcap.com api group.
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/pingcap/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/pingcap/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
controller/periodicity
Package periodicity dedicate the periodicity controller.
Package periodicity dedicate the periodicity controller.
tkctl
Package tkctl provides the functions used by the `tkc` command line tool.
Package tkctl provides the functions used by the `tkc` command line tool.
tkctl/config
Package config wraps kubectl config (namely, ~/.kube/config by default) and incorporate tidb cluster specific configurations setted by 'tkc use'.
Package config wraps kubectl config (namely, ~/.kube/config by default) and incorporate tidb cluster specific configurations setted by 'tkc use'.
tkctl/readable
Package readable provides types and utils for human readable output
Package readable provides types and utils for human readable output
apis Module
client Module
e2e
pkg/apiserver/apis/example
Package example is the internal version of the example.pingcap.com api group for e2e testing +k8s:deepcopy-gen=package,register +groupName=example.pingcap.com
Package example is the internal version of the example.pingcap.com api group for e2e testing +k8s:deepcopy-gen=package,register +groupName=example.pingcap.com
pkg/apiserver/apis/example/v1alpha1
Package v1alpha1 the v1alpha1 version of the example.pingcap.com api group.
Package v1alpha1 the v1alpha1 version of the example.pingcap.com api group.
pkg/apiserver/apis/example/v1beta1
Package v1beta1 is the v1beta1 version of the example.pingcap.com api group.
Package v1beta1 is the v1beta1 version of the example.pingcap.com api group.
pkg/apiserver/client/clientset/internalversion
This package has the automatically generated clientset.
This package has the automatically generated clientset.
pkg/apiserver/client/clientset/internalversion/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
pkg/apiserver/client/clientset/internalversion/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
pkg/apiserver/client/clientset/internalversion/typed/example/internalversion
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
pkg/apiserver/client/clientset/internalversion/typed/example/internalversion/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
pkg/apiserver/client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
pkg/apiserver/client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
pkg/apiserver/client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
pkg/apiserver/client/clientset/versioned/typed/example/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
pkg/apiserver/client/clientset/versioned/typed/example/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
pkg/apiserver/client/clientset/versioned/typed/example/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
pkg/apiserver/client/clientset/versioned/typed/example/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL