mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Revert "kube-proxy: check KUBE-MARK-DROP"
This reverts commit 1ca0ffeaf2
.
kube-proxy is not recreating the rules associated to the
KUBE-MARK-DROP chain, that is created by the kubelet.
Is preferrable avoid the dependency between the kubelet and
kube-proxy and that each of them handle their own rules.
This commit is contained in:
parent
d87c921a51
commit
98be7831e4
@ -842,7 +842,7 @@ func (proxier *Proxier) syncProxyRules() {
|
||||
writeLine(proxier.filterChains, utiliptables.MakeChainLine(chainName))
|
||||
}
|
||||
}
|
||||
for _, chainName := range []utiliptables.Chain{kubeServicesChain, kubeNodePortsChain, kubePostroutingChain, KubeMarkMasqChain, KubeMarkDropChain} {
|
||||
for _, chainName := range []utiliptables.Chain{kubeServicesChain, kubeNodePortsChain, kubePostroutingChain, KubeMarkMasqChain} {
|
||||
if chain, ok := existingNATChains[chainName]; ok {
|
||||
writeBytesLine(proxier.natChains, chain)
|
||||
} else {
|
||||
|
@ -2350,7 +2350,6 @@ COMMIT
|
||||
:KUBE-NODEPORTS - [0:0]
|
||||
:KUBE-POSTROUTING - [0:0]
|
||||
:KUBE-MARK-MASQ - [0:0]
|
||||
:KUBE-MARK-DROP - [0:0]
|
||||
:KUBE-SVC-AHZNAGK3SCETOS2T - [0:0]
|
||||
:KUBE-SEP-PXD6POUVGD2I37UY - [0:0]
|
||||
:KUBE-SEP-SOKZUIT7SCEVIP33 - [0:0]
|
||||
|
Loading…
Reference in New Issue
Block a user