Browse Source

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/6651/head
Brad Davidson 2 years ago committed by Brad Davidson
parent
commit
0c9b43746b
  1. 2
      pkg/agent/syssetup/setup.go

2
pkg/agent/syssetup/setup.go

@ -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

Loading…
Cancel
Save