Skip to content

Commit

Permalink
Load kernel modules for nft in agent setup (#11527)
Browse files Browse the repository at this point in the history
Signed-off-by: galal-hussein <[email protected]>
  • Loading branch information
galal-hussein authored Jan 7, 2025
1 parent 68fbd1a commit cca8fac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/agent/syssetup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit cca8fac

Please sign in to comment.