mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Enable the inheritance of settings for ipv6
Signed-off-by: Manuel Buil <mbuil@suse.com>
This commit is contained in:
parent
47676eff78
commit
87524a7ac7
@ -50,6 +50,7 @@ func Configure(enableIPv6 bool, config *kubeproxyconfig.KubeProxyConntrackConfig
|
|||||||
sysctls["net/ipv6/conf/all/forwarding"] = 1
|
sysctls["net/ipv6/conf/all/forwarding"] = 1
|
||||||
sysctls["net/ipv6/conf/default/forwarding"] = 1
|
sysctls["net/ipv6/conf/default/forwarding"] = 1
|
||||||
sysctls["net/bridge/bridge-nf-call-ip6tables"] = 1
|
sysctls["net/bridge/bridge-nf-call-ip6tables"] = 1
|
||||||
|
sysctls["net/core/devconf_inherit_init_net"] = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if conntrackMax := getConntrackMax(config); conntrackMax > 0 {
|
if conntrackMax := getConntrackMax(config); conntrackMax > 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user