mirror of https://github.com/kubernetes/kops.git
Fix kernel parameter for IPv6 forwarding
This commit is contained in:
parent
943c40bf38
commit
58fb2676eb
|
|
@ -152,7 +152,7 @@ func (b *SysctlBuilder) Build(c *fi.ModelBuilderContext) error {
|
||||||
|
|
||||||
if b.Cluster.Spec.IsIPv6Only() {
|
if b.Cluster.Spec.IsIPv6Only() {
|
||||||
sysctls = append(sysctls,
|
sysctls = append(sysctls,
|
||||||
"net.ipv6.ip_forward=1",
|
"net.ipv6.conf.all.forwarding=1",
|
||||||
"net.ipv6.conf.all.accept_ra=2",
|
"net.ipv6.conf.all.accept_ra=2",
|
||||||
"")
|
"")
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue