Preload iptable_filter/ip6table_filter

ServiceLB now requires this module, but it will not get autoloaded by the kubelet if the host is using nftables.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/6699/head
Brad Davidson 2022-12-13 19:25:00 +00:00 committed by Brad Davidson
parent 416d705348
commit e41a76520c
1 changed files with 2 additions and 0 deletions

View File

@ -33,8 +33,10 @@ func Configure(enableIPv6 bool, config *kubeproxyconfig.KubeProxyConntrackConfig
loadKernelModule("nf_conntrack")
loadKernelModule("br_netfilter")
loadKernelModule("iptable_nat")
loadKernelModule("iptable_filter")
if enableIPv6 {
loadKernelModule("ip6table_nat")
loadKernelModule("ip6table_filter")
}
// Kernel is inconsistent about how devconf is configured for