Browse Source

Merge pull request #4098 from manuelbuil/enable_sysctl_inheritance

Enable the inheritance of sysctl network settings for ipv6
pull/4122/head
Michal Rostecki 3 years ago committed by GitHub
parent
commit
4c75122585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      pkg/agent/syssetup/setup.go

1
pkg/agent/syssetup/setup.go

@ -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