-
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
Make events etcd cluster optional #11330
Conversation
Hi @codablock. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
Any chance to get this into 1.21? Would make things easier for us as I'm already actively using this |
Hi @codablock. We will discuss about this today at our weekly meeting and get back to you. |
d692cf5
to
e08d2f5
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 |
@hakman It feels strange to solve it this way tbh. Replacing some IP (127.0.0.1) with a DNS name is not immediately clear why it is happening (it took me some time to understand it). Can't we do all this (127.0.0.1 vs DNS) in I'm also trying to understand the |
@codablock I think we only get the info about the node type in NodeUp, so we can decide if we use 127.0.0.1 or hostname based on Master or APIServer type. In model we have a warning about adding a dependency on InstanceGroups. kops/pkg/model/components/apiserver.go Lines 186 to 191 in 1761076
@rifelpet @johngmyers @olemarkus any thoughts on which approach would be better? |
c63c2c1
to
75438fd
Compare
@hakman I've update the PR to use your suggested solution (a few changes were required to make tests pass) |
According to the apiserver command line reference, this flag is only in use when I believe we can remove the code for setting the |
/lgtm |
…-upstream-release-1.21 Automated cherry pick of #11330: Make the events etcd cluster optional
Related to #5004
The events cluster is not strictly needed anymore as etcd v3 is able to handle events and main in the same cluster. This PR only removes the strict requirement, but will still create the cluster via "kops create cluster". Future versions should consider not creating the cluster by default.