mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 20:42:26 +00:00
Merge pull request #121919 from uablrek/etp-local-externalips
kube-proxy: Fix etp:Local for externalIPs
This commit is contained in:
commit
8a9e0d936a
@ -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 New Issue
Block a user