-
Notifications
You must be signed in to change notification settings - Fork 1.2k
tiup/cluster: add usage for check command #3489
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
Conversation
| tiup cluster check topology.yml --user tidb -p | ||
|
|
||
| # check deploy servers of an existing cluster | ||
| tiup cluster check <cluster-name> --cluster |
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.
Prefer tiup cluster check --cluster <cluster-name>
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.
Both will work, I use this style because our usage string shows cluster <topology.yaml | cluster-name> [flags]
lonng
left a comment
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.
Rest LGTM
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
lucklove
left a comment
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
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-4.0 in PR #3766 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: Allen Zhong <zhongbenli@pingcap.com>
What is changed, added or deleted? (Required)
Add basic description of subcommand
checkof TiUP Cluster.Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?