Merge pull request #104742 from khenidak/health-check-port

change health-check port to listen to node port addresses
This commit is contained in:
Kubernetes Prow Robot
2021-09-13 15:43:52 -07:00
committed by GitHub
5 changed files with 194 additions and 59 deletions

View File

@@ -642,7 +642,7 @@ func NewProxier(
klog.InfoS("clusterCIDR not specified, unable to distinguish between internal and external traffic")
}
serviceHealthServer := healthcheck.NewServiceHealthServer(hostname, recorder)
serviceHealthServer := healthcheck.NewServiceHealthServer(hostname, recorder, []string{} /* windows listen to all node addresses */)
hns, supportedFeatures := newHostNetworkService()
hnsNetworkName, err := getNetworkName(config.NetworkName)
if err != nil {