Enable the inheritance of settings for ipv6

Signed-off-by: Manuel Buil <mbuil@suse.com>
This commit is contained in:
Manuel Buil 2021-09-28 09:42:08 +02:00
parent 47676eff78
commit 87524a7ac7

View File

@ -50,6 +50,7 @@ func Configure(enableIPv6 bool, config *kubeproxyconfig.KubeProxyConntrackConfig
sysctls["net/ipv6/conf/all/forwarding"] = 1
sysctls["net/ipv6/conf/default/forwarding"] = 1
sysctls["net/bridge/bridge-nf-call-ip6tables"] = 1
sysctls["net/core/devconf_inherit_init_net"] = 1
}
if conntrackMax := getConntrackMax(config); conntrackMax > 0 {