mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Merge pull request #50607 from lukaszo/logdns
Automatic merge from submit-queue (batch tested with PRs 50531, 50853, 49976, 50939, 50607) Log error from ensureDNSRecords Hiding errors is not a good idea. It took me some time to figure it out why my coredns is not working. It turned out that I had wrong etcd configuration but errors about it were hidden. ```release-note NONE ```
This commit is contained in:
commit
078a3b653b
@ -182,6 +182,7 @@ func (s *ServiceDNSController) workerFunction() bool {
|
||||
for _, clusterIngress := range ingress.Items {
|
||||
err = s.ensureDNSRecords(clusterIngress.Cluster, service)
|
||||
if err != nil {
|
||||
runtime.HandleError(fmt.Errorf("Error when ensuring DNS records for service %s/%s: %v", service.Namespace, service.Name, err))
|
||||
s.deliverService(service, 0, true)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user