-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 multiple ConfigServers #15000
support multiple ConfigServers #15000
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.
I generally like the direction. Leaving the final review to @justinsb or @johngmyers.
/assign @johngmyers
/assign @justinsb
I'll have to research why it only answers from one instance. |
Okay, this was introduced in #12997 The server should not be put under control of the manager, since that subjects it to leader election. |
I think without putting all 3 servers (when available) there is less redundancy. We already send all 3 IPs for the bootstrap check. |
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.
Next time, when both the change and the changes to golden outputs are nontrivial please put the golden output changes in a separate commit.
6bbb83c
to
0b124a1
Compare
/retest |
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.
/hold to give opportunity to fix nits
/lgtm cancel |
/hold cancel |
78a8c86
to
de948f1
Compare
de948f1
to
1e9304b
Compare
Please restage/squash the commits before merging. Will be easier to cherrypick. |
1e9304b
to
6b97ec8
Compare
I meant to keep all code in one PR and the golden outputs, as @johngmyers said. |
6b97ec8
to
d20f642
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hakman The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…-upstream-release-1.26 Automated cherry pick of #15000: support multiple ConfigServers
…-of-#15000-upstream-release-1.26 Automated cherry pick of kubernetes#15000: support multiple ConfigServers
Instead of supporting one boostrap ConfigServer, I modified it to understand multiple ConfigServers. The logic is that it will try to find the working one from the all available configservers. It seems that Kops-controller will answer only from one master