-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev, v3.0: TiDB cluster configuration changes #1645
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
```shell | ||
$ kubectl label node <nodeName> region=<regionName> zone=<zoneName> rack=<rackName> kubernetes.io/hostname=<hostName> | ||
``` | ||
如果当前 Kubernetes 集群的 Node 节点没有表示拓扑位置的 Label,或者 Label 名字中带有 `/`,可以通过下面的命令手动给 Node 增加标签: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and the following command belong to the following item: 为 TiKV 节点设置所在的 Node 节点的拓扑信息
The lint issues in this PR have been fixed in the upstream. You can merge upstream master into your current branch to pass the CI check. @xiaojingchen And before you merge this PR, please wait for @TomShawn to take a look, thanks~ |
79f9c93
to
cf7c7ce
Compare
@TomShawn PTAL |
dev/reference/configuration/tidb-in-kubernetes/cluster-configuration.md
Outdated
Show resolved
Hide resolved
dev/reference/configuration/tidb-in-kubernetes/cluster-configuration.md
Outdated
Show resolved
Hide resolved
|
||
目前 TiDB Operator 只能识别特定的几个 label,所以只能使用下面的标签来设置 Node 的拓扑信息: | ||
在 Kubernetes 上集成该功能,需要如下操作: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
集成什么功能?
dev/reference/configuration/tidb-in-kubernetes/cluster-configuration.md
Outdated
Show resolved
Hide resolved
v3.0/reference/configuration/tidb-in-kubernetes/cluster-configuration.md
Outdated
Show resolved
Hide resolved
v3.0/reference/configuration/tidb-in-kubernetes/cluster-configuration.md
Outdated
Show resolved
Hide resolved
…ration.md Co-Authored-By: TomShawn <[email protected]>
…ration.md Co-Authored-By: TomShawn <[email protected]>
…ration.md Co-Authored-By: TomShawn <[email protected]>
…uration.md Co-Authored-By: TomShawn <[email protected]>
…uration.md Co-Authored-By: TomShawn <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What is changed, added or deleted?
some configuration changes:
tikv.storeLabels
数据容灾
the related PR: pingcap/tidb-operator#663
What is the related PR or file link(s)?
Which version does your change affect?
Checklist
TOC.md
title
in metadataTOC.md