diff --git a/pkg/proxy/service.go b/pkg/proxy/service.go index d56e0aed81a..0b00afad6b9 100644 --- a/pkg/proxy/service.go +++ b/pkg/proxy/service.go @@ -201,7 +201,9 @@ func (sct *ServiceChangeTracker) newBaseServiceInfo(port *v1.ServicePort, servic // Obtain Load Balancer Ingress IPs var ips []string for _, ing := range service.Status.LoadBalancer.Ingress { - ips = append(ips, ing.IP) + if ing.IP != "" { + ips = append(ips, ing.IP) + } } if len(ips) > 0 {