Kubelet doesn't report ExternalIP/DNS with --node-ip #63158
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/network
Categorizes an issue or PR as relevant to SIG Network.
sig/node
Categorizes an issue or PR as relevant to SIG Node.
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
When using the
--node-ip
flag on the kubelet, the node's.status.addresses
list no longer reportsExternalDNS
,InternalDNS
,ExternalIP
addresses.What you expected to happen:
That I can explicitly set
--node-ip
to an IP, but the other addresses will still show up.How to reproduce it (as minimally and precisely as possible):
Create a new kops cluster, modify the kubelet to use the
--node-ip
flag with the eth0 on the node. Runkubectl get no <node-name> -o json | jq .status.addresses
Anything else we need to know?:
This change will probably take place in
Kubelet.setNodeAddresses()
This came up as a result of #61921
Environment:
kubectl version
): 1.9.xuname -a
): any/sig network
/sig node
@andrewsykim
@nckturner
I'll make a PR for this change shortly
The text was updated successfully, but these errors were encountered: