-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Kubelet can retrieve host IP even when apiserver has not been contacted #27508
Conversation
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
2 similar comments
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
Cherry-pick of: kubernetes#27508
Cherry-pick of: kubernetes#27508
This actually seems to be breaking unit tests -- looking into it now |
unit test failures should be fixed. |
Cherry-pick of: kubernetes#27508
LGTM |
GCE e2e build/test passed for commit 4a62d8e. |
GCE e2e build/test passed for commit 4a62d8e. |
Automatic merge from submit-queue |
Cherry-pick of: kubernetes#27508
Cherry-pick of: kubernetes#27508
Cherry-pick of: kubernetes#27508
Cherry-pick of: kubernetes#27508
Cherry-pick of: kubernetes#27508
fixes #26590, fixes #6558
Right now the kubelet expects to get the hostIP from the kubelet's local nodeInfo cache. However, this will be empty if there is no api-server (or the apiServer has not yet been contacted).
In the case of static pods, this change means the downward api can now be used to populate hostIP.