diff --git a/pkg/proxy/iptables/proxier.go b/pkg/proxy/iptables/proxier.go index 10bae3294af..7fc186d6136 100644 --- a/pkg/proxy/iptables/proxier.go +++ b/pkg/proxy/iptables/proxier.go @@ -662,6 +662,13 @@ func accumulateEndpointsMap(endpoints *api.Endpoints, hostname string, } (*newEndpoints)[svcPort] = append((*newEndpoints)[svcPort], epInfo) } + if glog.V(3) { + newEPList := []string{} + for _, ep := range (*newEndpoints)[svcPort] { + newEPList = append(newEPList, ep.endpoint) + } + glog.Infof("Setting endpoints for %q to %+v", svcPort, newEPList) + } } } }