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

Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
pull/11613/head
Hussein Galal 2025-01-14 01:14:25 +02:00 committed by GitHub
parent 92ce3f1fe9
commit cba30eb6b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

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")