Giter VIP home page Giter VIP logo

docs-tidb-operator's Introduction

TiDB on Kubernetes Documentation

This repository stores all the source files of TiDB on Kubernetes documentation at the PingCAP website. That is, the documentation for TiDB Operator.

Currently, the official documentation supports two languages:

You can use Google Translate to view the documentation in different languages. For example:

Documentation versions

Currently, we maintain the following versions for TiDB on Kubernetes documentation, each with a separate branch:

Branch name Version description
master the latest development version
release-1.6 the 1.6 version
release-1.5 the 1.5 version (latest stable)
release-1.4 the 1.4 version
release-1.3 the 1.3 version
release-1.2 the 1.2 version
release-1.1 the 1.1 version (archived)
release-1.0 the 1.0 version (archived)

Note:

  • Previously, we maintain the TiDB on Kubernetes documentation in the docs and docs-cn repository.
  • Since March 31, 2020, all the TiDB on Kubernetes documentation has been moved to this repository, and maintained based on versions in the branches above.

License

All documentation starting from TiDB Operator v1.5 is available under the terms of CC BY-SA 3.0.

docs-tidb-operator's People

Contributors

better0332 avatar caitinchen avatar cofyc avatar csuzhangxc avatar danielzhangqd avatar dragonly avatar dveeden avatar fengou1 avatar handlerww avatar hfxsd avatar joyinqin avatar july2993 avatar just1900 avatar kanshiori avatar lichunzhu avatar lilin90 avatar mikechengwei avatar oreoxmt avatar qiancai avatar ran-huang avatar shichun-0415 avatar shuijing198799 avatar ti-srebot avatar tomshawn avatar weekface avatar wizardxiao avatar yiduoyunq avatar yikeke avatar yinixu9506 avatar yisaer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs-tidb-operator's Issues

doc for backup and restore with br on gcs

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

  2. Describe your suggestion or addition.

  3. Provide some reference materials (documents, websites, etc) if you could.

Operator version

Question

I have read the document about prerequisites... It shows that the minimum version of Kubernetes cluster is v1.12.5 and the minimum version of docker-ce is 18.09.6.

I Got a cluster which is v.1.12.4, docker-ce which is 18.06.3 and neither of them supports upgrade... So can I use the operator in the cluster? What effect do these differences take?

The configuration for tikv is incorrect

Error Report

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. What is the URL/path of the document related to this issue?

https://pingcap.com/docs-cn/tidb-in-kubernetes/stable/configure-cluster-using-tidbcluster/#%E9%85%8D%E7%BD%AE-tikv-%E9%85%8D%E7%BD%AE%E5%8F%82%E6%95%B0 the example configuration for tikv is not correct.
The below configurations cannot be configured under the config directly.

grpc-concurrenc: 4
sync-log: true
  1. How would you like to improve it?

Improve the backup and restore doc

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

Backup & Restore

  • Overview
    • 需要提一下Scenarios -- link to logical and physical backup & restore
  • Grant Permissions to Remote Storage
    • S3
    • GCS
  • Backup with Dumpling
    • Backup to S3
    • Backup to GCS
  • Restore with TiDB Lightning
    • Restore from S3
    • Restore from GCS
  • Backup with BR
    • Backup to S3
    • Backup to GCS
    • Backup to NFS
  • Restore with BR
    • Restore from S3
    • Restore from GCS
    • Restore from NFS
  1. Describe your suggestion or addition.

  2. Provide some reference materials (documents, websites, etc) if you could.

Test if github action works

Question

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Before submitting your question, make sure you have:

Now, please describe your question here:

Improve failover doc

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

Enable Automatic Failover -> Configure Automatic Failover

  1. Describe your suggestion or addition.

  2. Provide some reference materials (documents, websites, etc) if you could.

Add doc to modify configurations

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.
    Modify TiDB Configuration
    https://pingcap.com/docs/tidb-in-kubernetes/stable/upgrade-a-tidb-cluster/#update-the-configuration-of-tidb-cluster-using-tidbcluster-cr

  2. Describe your suggestion or addition.

  3. Provide some reference materials (documents, websites, etc) if you could.

Command Error

File: /en/deploy-on-gcp-gke.md

When running ./create-service-account.sh
Will encounter the following error,
creating a new service account terraform
ERROR: (gcloud) The project property must be set to a valid project ID, not the project name [
macro-griffin-333333

Had to use command line to create service account.

升级tidb operator之后?

File: /zh/upgrade-tidb-operator.md

Q1: 怎么确定升级operator成功?换句话说,怎么确定我的operator在版本1.1
Q2: 升级operator之后是否对已存在tidb cluster作变化? 如果没有变化,如何升级现有的tidb cluster?

Provide procedures to scale up TiKV clusters using local disks to another node pool

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.
    There are cases where users are running TiKVs using local disk in one node pool e.g. with 8 CPUs but want to migrate to another node pool with more cpus, e.g. 16 CPUs.
    We have to provide procedures to instruct users to migrate.

  2. Describe your suggestion or addition.

  3. Provide some reference materials (documents, websites, etc) if you could.

Improve the scaling doc

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

Scale TiDB Cluster

  1. Describe your suggestion or addition.

  2. Provide some reference materials (documents, websites, etc) if you could.

增加对{cluster_name} 的描述

集群的yaml metadata:name: test = 监控的yaml spec:clusters: name: test,这点可以多点阐述吗,有时候刚上手还是有点不解的

Add markdownlint check as that in pingcap/docs-cn

Change Request

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

    Lacks markdownlint check

  2. Describe your suggestion or addition.

    Add markdownlint rules to the CI check of this repo as that in pingcap/docs-cn

  3. Provide some reference materials (documents, websites, etc) if you could.

    pingcap/docs-cn

Improve the data import doc

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.
    https://pingcap.com/docs/tidb-in-kubernetes/stable/restore-data-using-tidb-lightning/#deploy-tidb-lightning
    Data Import
  • Deploy tikv-importer
  • Deploy tidb-lightening
    • Configure
      • SecretKey
        • Grant Permissions
        • Create Secret
      • IAM role
        • Grant Permissions
        • Create Secret
      • Service Account
        • Grant Permissions
        • Create Secret
    • Deploy
    • Destroy
  1. Describe your suggestion or addition.

  2. Provide some reference materials (documents, websites, etc) if you could.

Doc update for https://github.com/pingcap/tidb-operator/pull/2870

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

  2. Describe your suggestion or addition.

  3. Provide some reference materials (documents, websites, etc) if you could.

Simplify kind tutorial

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

https://pingcap.com/docs/tidb-in-kubernetes/v1.1/deploy-tidb-from-kubernetes-kind/ is too complex to follow.

  1. Describe your suggestion or addition.
  • kind is not for production, in quick start, we don't need to create a multiple node cluster
  • kind has builtin storage now, local-volume-provisioner is not necessary

we can

  • install kind and run kind create cluster to start a single-node cluster
  • run helm repo add .. && helm install ... to install tidb-operator with default configuration
  • run kubectl apply -f https://raw.githubusercontent.com/pingcap/tidb-operator/master/examples/basic/tidb-cluster.yaml to start a basic tidb cluster
  1. Provide some reference materials (documents, websites, etc) if you could.

https://kind.sigs.k8s.io/

Improve the tidb cluster accessing doc

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.
    https://pingcap.com/docs/tidb-in-kubernetes/stable/access-tidb/
    Delete in Kubenetes for “Access the TiDB Cluster in Kubernetes”
    If this section is under a self managed k8s cluster, consider removing the load balancer as it is only used in public clouds.
    Consider merging with configure TiDB.

  2. Describe your suggestion or addition.

  3. Provide some reference materials (documents, websites, etc) if you could.

doc update for https://github.com/pingcap/tidb-operator/pull/2828

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

  2. Describe your suggestion or addition.

  3. Provide some reference materials (documents, websites, etc) if you could.

Document how to delete backup

Change Request

By default, the Backup CR has a finalizer for protection, when users delete the object, it will hang in Terminating state. This behavior is not documented thus confusing users.

Improve the cluster restart doc

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

Restart a TiDB Cluster

  1. Describe your suggestion or addition.

  2. Provide some reference materials (documents, websites, etc) if you could.

Document GC behavior during backup

Currently, TiDB cluster does not have backup lock. Users have to manually configure TiKV GC lifetime to avoid data be GCed, tidb-operator automatically configures TiKV GC lifetime during backup. This should be documented and when the backup job failed, how users should handle it.

逻辑矛盾?

File: /zh/notes-tidb-operator-v1.1.md

从 TiDB Operator v1.1.0 开始,PingCAP 不再继续更新维护 tidb-cluster chart,原来由 tidb-cluster chart 负责管理的组件或者功能在 v1.1 中的变更如下:

但后面的文字与上一句矛盾

tidb-cluster chart 仍然会继续发布,但是不再添加新功能,比如组件 TLS(目前只是部分支持)、TiKV 和 TiDB 自动伸缩等功能。

Improve the title of data import doc

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.
    https://pingcap.com/docs/tidb-in-kubernetes/stable/restore-data-using-tidb-lightning/#deploy-tidb-lightning
    Change name to Import Data
    Change document name from “Restore Data into TiDB in Kubernetes” to “Import Data”

  2. Describe your suggestion or addition.

  3. Provide some reference materials (documents, websites, etc) if you could.

Add doc for removing TiFlash

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

  2. Describe your suggestion or addition.

  3. Provide some reference materials (documents, websites, etc) if you could.

Improve the deployment doc

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

https://pingcap.com/docs/tidb-in-kubernetes/stable/deploy-tidb-operator/#deploy-kubernetes-cluster
Consider linking to production deployment on public cloud
For deployment on public cloud, consider linking to production deployment on self managed k8s.

  1. Describe your suggestion or addition.

  2. Provide some reference materials (documents, websites, etc) if you could.

Improve the monitoring docs

Change Request

This repository is ONLY used to solve issues related to TiDB Operator documentation.
For other issues (related to TiDB, PD, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

https://pingcap.com/docs/tidb-in-kubernetes/stable/monitor-using-tidbmonitor/
Consider removing the get started section or merge it with getting started doc https://pingcap.com/docs/tidb-in-kubernetes/stable/get-started/.

https://pingcap.com/docs/tidb-in-kubernetes/stable/monitor-a-tidb-cluster/
Consider moving the k8s monitoring to a separate document under Reference.

Consider merging the above two docs into one doc.

  1. Describe your suggestion or addition.

  2. Provide some reference materials (documents, websites, etc) if you could.

Add the broken link CI check

Change Request

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

    Lacks the broken link CI check

  2. Describe your suggestion or addition.

    Add the broken link CI check to this repo as that in pingcap/docs-cn. Thanks a lot!

    Please note that the link path rule is not the same as that in pingcap/docs-cn. See TOC.md.

  3. Provide some reference materials (documents, websites, etc) if you could.

    pingcap/docs-cn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.