mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Raise log level to avoid log spam
This commit is contained in:
parent
2bb6c83d80
commit
b44e4b4f86
@ -1039,7 +1039,7 @@ func (c *Cloud) NodeAddresses(name types.NodeName) ([]v1.NodeAddress, error) {
|
|||||||
if err != nil || len(internalDNS) == 0 {
|
if err != nil || len(internalDNS) == 0 {
|
||||||
//TODO: It would be nice to be able to determine the reason for the failure,
|
//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.
|
// but the AWS client masks all failures with the same error description.
|
||||||
glog.V(2).Info("Could not determine private DNS from AWS metadata.")
|
glog.V(4).Info("Could not determine private DNS from AWS metadata.")
|
||||||
} else {
|
} else {
|
||||||
addresses = append(addresses, v1.NodeAddress{Type: v1.NodeInternalDNS, Address: internalDNS})
|
addresses = append(addresses, v1.NodeAddress{Type: v1.NodeInternalDNS, Address: internalDNS})
|
||||||
}
|
}
|
||||||
@ -1048,7 +1048,7 @@ func (c *Cloud) NodeAddresses(name types.NodeName) ([]v1.NodeAddress, error) {
|
|||||||
if err != nil || len(externalDNS) == 0 {
|
if err != nil || len(externalDNS) == 0 {
|
||||||
//TODO: It would be nice to be able to determine the reason for the failure,
|
//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.
|
// 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 {
|
} else {
|
||||||
addresses = append(addresses, v1.NodeAddress{Type: v1.NodeExternalDNS, Address: externalDNS})
|
addresses = append(addresses, v1.NodeAddress{Type: v1.NodeExternalDNS, Address: externalDNS})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user