mirror of https://github.com/k3s-io/k3s
Enable the inheritance of settings for ipv6
Signed-off-by: Manuel Buil <mbuil@suse.com>pull/4099/head
parent
273827d4ba
commit
15f3a2ebfb
|
@ -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