Load kernel modules for nft in agent setup (#11524)

Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
This commit is contained in:
Hussein Galal 2025-01-07 03:01:02 +02:00 committed by GitHub
parent e64e2fcfd4
commit e6f6fce676
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,6 +34,9 @@ func Configure(enableIPv6 bool, config *kubeproxyconfig.KubeProxyConntrackConfig
loadKernelModule("br_netfilter")
loadKernelModule("iptable_nat")
loadKernelModule("iptable_filter")
loadKernelModule("nft-expr-counter")
loadKernelModule("nfnetlink-subsys-11")
loadKernelModule("nft-chain-2-nat")
if enableIPv6 {
loadKernelModule("ip6table_nat")
loadKernelModule("ip6table_filter")