mirror of
https://github.com/k3s-io/k3s.git
synced 2026-06-09 00:33:35 -04:00
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:
parent
e64e2fcfd4
commit
e6f6fce676
1 changed files with 3 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue