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

@@ -280,7 +280,7 @@ func NewProxier(ipt utiliptables.Interface,
masqueradeMark := fmt.Sprintf("%#08x", masqueradeValue)
klog.V(2).InfoS("Using iptables mark for masquerade", "ipFamily", ipt.Protocol(), "mark", masqueradeMark)
serviceHealthServer := healthcheck.NewServiceHealthServer(hostname, recorder)
serviceHealthServer := healthcheck.NewServiceHealthServer(hostname, recorder, nodePortAddresses)
ipFamily := v1.IPv4Protocol
if ipt.IsIPv6() {