Increase log level of failed AWS public dns lookup

This constantly spams us because none of our nodes have a public IP. We
run kubelet at -v=2 as recommended.
This commit is contained in:
James Ravn 2017-09-29 14:47:51 +01:00 committed by James Ravn
parent 210626577b
commit fff35aba48

View File

@ -1048,7 +1048,7 @@ func (c *Cloud) NodeAddresses(name types.NodeName) ([]v1.NodeAddress, error) {
if err != nil || len(externalDNS) == 0 {
//TODO: It would be nice to be able to determine the reason for the failure,
// but the AWS client masks all failures with the same error description.
glog.V(2).Info("Could not determine public DNS from AWS metadata.")
glog.V(4).Info("Could not determine public DNS from AWS metadata.")
} else {
addresses = append(addresses, v1.NodeAddress{Type: v1.NodeExternalDNS, Address: externalDNS})
}