-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Support cluster bootstrapping in vtctldclient #14315
Support cluster bootstrapping in vtctldclient #14315
Conversation
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
fc91e79
to
ef98b8c
Compare
ef98b8c
to
421739d
Compare
Signed-off-by: Matt Lord <[email protected]>
421739d
to
ceadf8e
Compare
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
8267a1b
to
2afb160
Compare
Signed-off-by: Matt Lord <[email protected]>
0edbd83
to
2cba508
Compare
Signed-off-by: Matt Lord <[email protected]>
2cba508
to
91fb502
Compare
My thinking instead is that if a |
I don't know that I'm against this idea... but the current implementation here also generally provides a nice replacement for the |
right but if we can put this in |
I'm not sure I understand. If we merged this PR as-is, we would be able to drop the |
you're completely right! ignore me ... 🙈 |
…p_cluster Signed-off-by: Matt Lord <[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.
one help text change but lgtm
Signed-off-by: Matt Lord <[email protected]>
Hey @mattlord do we still want to merge this? |
yes, we do! |
I will get this fixed up and merged soon. I will add a commit here to address this non-behavior changing discussion as well before merging: #14467 (review) |
…p_cluster Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Description
This meets the one use case that remained for the
vtctl
client — which was a combination ofvtctlclient
andvtctld
— bootstrapping a new cluster by creating the first cell that you can then start avtctld
server in.More generally, this PR adds support to
vtctldclient
so that you can execute any command w/o requiring a runningvtctld
server by specifying--server internal
. When that value is specified,vtctldclient
acts as the legacyvtctl
client in that it uses an internalVtctldServer
implementation — interfacing with the topology server(s) directly.Related Issue(s)
Checklist