mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
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>
This commit is contained in:
parent
f8b661d590
commit
0c9b43746b
@ -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…
Reference in New Issue
Block a user