From 0d451d7a4c0d07ad6925261953235fe711324e08 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Thu, 3 Jan 2019 10:35:43 -0800 Subject: [PATCH] kube-proxy: remove old cleanup rules --- pkg/proxy/iptables/proxier.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkg/proxy/iptables/proxier.go b/pkg/proxy/iptables/proxier.go index 6a34f5b40fc..c6598243ab8 100644 --- a/pkg/proxy/iptables/proxier.go +++ b/pkg/proxy/iptables/proxier.go @@ -374,12 +374,7 @@ var iptablesJumpChains = []iptablesJumpChain{ {utiliptables.TableFilter, kubeForwardChain, utiliptables.ChainForward, "kubernetes forwarding rules", nil}, } -var iptablesCleanupOnlyChains = []iptablesJumpChain{ - // Present in kube 1.6 - 1.9. Removed by #56164 in favor of kubeExternalServicesChain - {utiliptables.TableFilter, kubeServicesChain, utiliptables.ChainInput, "kubernetes service portals", nil}, - // Present in kube <= 1.9. Removed by #60306 in favor of rule with extraArgs - {utiliptables.TableFilter, kubeServicesChain, utiliptables.ChainOutput, "kubernetes service portals", nil}, -} +var iptablesCleanupOnlyChains = []iptablesJumpChain{} // CleanupLeftovers removes all iptables rules and chains created by the Proxier // It returns true if an error was encountered. Errors are logged.