mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
kube-proxy: Fix etp:Local for externalIPs
The problem was introduced by PR #108460
This commit is contained in:
parent
56d7898510
commit
19da26005b
1 changed files with 3 additions and 0 deletions
|
|
@ -1675,6 +1675,9 @@ func (proxier *Proxier) writeIptablesRules() {
|
|||
proxier.filterRules.Write(
|
||||
"-A", string(kubeIPVSFilterChain),
|
||||
"-m", "set", "--match-set", proxier.ipsetList[kubeExternalIPSet].Name, "dst,dst", "-j", "RETURN")
|
||||
proxier.filterRules.Write(
|
||||
"-A", string(kubeIPVSFilterChain),
|
||||
"-m", "set", "--match-set", proxier.ipsetList[kubeExternalIPLocalSet].Name, "dst,dst", "-j", "RETURN")
|
||||
proxier.filterRules.Write(
|
||||
"-A", string(kubeIPVSFilterChain),
|
||||
"-m", "set", "--match-set", proxier.ipsetList[kubeHealthCheckNodePortSet].Name, "dst", "-j", "RETURN")
|
||||
|
|
|
|||
Loading…
Reference in a new issue