-
Notifications
You must be signed in to change notification settings - Fork 686
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
op-guide: add advertise-address to TiDB configuration #543
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,12 @@ TiDB, TiKV and PD are configurable using command-line flags and environment vari | |
|
||
The default TiDB ports are 4000 for client requests and 10080 for status report. | ||
|
||
### `--advertise-address` | ||
|
||
- The IP address that advertise the TiDB server. | ||
- Default: "" | ||
- TiDB will store some information to PD such as `advertise-address`. Please make sure `advertise-address` is a public IP, such as 172.16.30.8, Otherwise `advertise-address` will be meaningless. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Update this sentence to the following version (pay attention to extra whitespaces): TiDB stores some information to PD, such as |
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you can reference kubernetes document about advertise-address https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/ |
||
### `--binlog-socket` | ||
|
||
- The TiDB services use the unix socket file for internal connections, such as the Pump service | ||
|
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.
-> The IP address used to access the TiDB server