Enable the inheritance of settings for ipv6

Signed-off-by: Manuel Buil <mbuil@suse.com>
pull/4101/head
Manuel Buil 3 years ago
parent 10bca343e8
commit 44013ae899

@ -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…
Cancel
Save