Proxy changes for IP mode field

This commit is contained in:
Aohan Yang
2023-07-06 16:48:52 +08:00
parent 7c6e399b22
commit 7eab0d7a0d
9 changed files with 314 additions and 62 deletions

View File

@@ -1172,7 +1172,7 @@ func (proxier *Proxier) syncProxyRules() {
}
// Capture load-balancer ingress.
for _, ingress := range svcInfo.LoadBalancerIPStrings() {
for _, ingress := range svcInfo.LoadBalancerVIPStrings() {
// ipset call
entry = &utilipset.Entry{
IP: ingress,