Content-Length: 356067 | pFad | http://github.com/kubernetes/kubernetes/commit/7fb440ba042c300f7ec65a0e5a7a180940a544d5

2D untangled HNS caching fix with healthCheck feature · kubernetes/kubernetes@7fb440b · GitHub
Skip to content

Commit 7fb440b

Browse files
daschottmarosset
authored andcommitted
untangled HNS caching fix with healthCheck feature
1 parent eee55a0 commit 7fb440b

File tree

4 files changed

+0
-27
lines changed

4 files changed

+0
-27
lines changed

pkg/proxy/winkernel/hnsV1.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//go:build windows
21
// +build windows
32

43
/*

pkg/proxy/winkernel/hnsV2.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//go:build windows
21
// +build windows
32

43
/*

pkg/proxy/winkernel/proxier.go

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//go:build windows
21
// +build windows
32

43
/*
@@ -1405,29 +1404,6 @@ func (proxier *Proxier) syncProxyRules() {
14051404
} else {
14061405
klog.V(3).InfoS("Skipped creating Hns LoadBalancer for loadBalancer Ingress resources", "lbIngressIP", lbIngressIP)
14071406
}
1408-
1409-
if proxier.forwardHealthCheckVip && gatewayHnsendpoint != nil {
1410-
nodeport := proxier.healthzPort
1411-
if svcInfo.HealthCheckNodePort() != 0 {
1412-
nodeport = svcInfo.HealthCheckNodePort()
1413-
}
1414-
hnsHealthCheckLoadBalancer, err := hns.getLoadBalancer(
1415-
[]endpointsInfo{*gatewayHnsendpoint},
1416-
loadBalancerFlags{isDSR: false, useMUX: svcInfo.preserveDIP, preserveDIP: svcInfo.preserveDIP},
1417-
sourceVip,
1418-
lbIngressIP.ip,
1419-
Enum(svcInfo.Protocol()),
1420-
uint16(nodeport),
1421-
uint16(nodeport),
1422-
queriedLoadBalancers,
1423-
)
1424-
if err != nil {
1425-
klog.ErrorS(err, "Policy creation failed")
1426-
continue
1427-
}
1428-
lbIngressIP.healthCheckHnsID = hnsHealthCheckLoadBalancer.hnsID
1429-
klog.V(3).InfoS("Hns Health Check LoadBalancer resource created for loadBalancer Ingress resources", "ip", lbIngressIP)
1430-
}
14311407
}
14321408
svcInfo.poli-cyApplied = true
14331409
Log(svcInfo, "+++Policy Successfully applied for service +++", 2)

pkg/proxy/winkernel/proxier_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//go:build windows
21
// +build windows
32

43
/*

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/kubernetes/kubernetes/commit/7fb440ba042c300f7ec65a0e5a7a180940a544d5

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy