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
Bug 1872632: allow overriding kubelet --node-ip in the _base templates #2088
Bug 1872632: allow overriding kubelet --node-ip in the _base templates #2088
Conversation
Otherwise there is no way to fix an incorrect guess by kubelet on bare metal UPI.
|
@danwinship: This pull request references Bugzilla bug 1872632, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In response to this:
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. |
|
ovn-step-registry seems to be the CI test pod not correctly starting, not even getting to the point of AWS setup |
|
/lgtm |
Presumably it'd work to write a systemd-drop in like ? |
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.
OK
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, danwinship, dcbw 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 |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@danwinship: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@danwinship: All pull requests linked via external trackers have merged: Bugzilla bug 1872632 has been moved to the MODIFIED state. In response to this:
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. |
I was thinking "edit |
This is not a complete fix for bug 1872632. However, regardless of the approach taken there, it seems like there needs to be some way for platform-none UPI users to override an incorrect guess by kubelet regarding the node IP. Currently we allowing overriding it (based on
nodeip-configuration.service) in bare metal IPI, openstack, and vsphere, but not anywhere else.This just patches the _base kubelet service files so that if
KUBELET_NODE_IPhas been set, somewhere, we pass it to kubelet. It does not actually provide any simple way to set it yet. (nodeip-configuration.servicewon't work on UPI because it requires there to be an apiserver VIP.)The idea of making
--node-ipconfigurable was somewhat rejected in #944 although in that case it was clear that the user only needed it to work around a bug somewhere else (which may or may not also be true for bz 1872632, but it's certainly the case that in some platform-none UPI installs, kubelet will not be able to correctly guess the node IP). But we could add{{ if eq .Infra.Status.PlatformStatus.Type "None" }}around the new code if we wanted to not allow overriding--node-ipon cloud platforms...(I believe I'm correctly differentiating "bare metal platform" / "no platform" / IPI / UPI here but I may have gotten some of the details wrong)
cc @kikisdeliveryservice