From a38c97c1cdc0237bd1cedce9e3c754845287a4c8 Mon Sep 17 00:00:00 2001 From: Thomas Ferrandiz Date: Fri, 1 Jul 2022 11:54:56 +0000 Subject: [PATCH] disable ipv6 by default --- docs/user-guide.md | 2 +- pkg/options/options.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-guide.md b/docs/user-guide.md index 6e68c30401..bb62c12e38 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -57,7 +57,7 @@ Usage of kube-router: --enable-cni Enable CNI plugin. Disable if you want to use kube-router features alongside another CNI plugin. (default true) --enable-ibgp Enables peering with nodes with the same ASN, if disabled will only peer with external BGP peers (default true) --enable-ipv4 Enables IPv4 support (default true) - --enable-ipv6 Enables IPv6 support (default true) + --enable-ipv6 Enables IPv6 support --enable-overlay When enable-overlay is set to true, IP-in-IP tunneling is used for pod-to-pod networking across nodes in different subnets. When set to false no tunneling is used and routing infrastructure is expected to route traffic for pod-to-pod networking across nodes in different subnets (default true) --enable-pod-egress SNAT traffic from Pods to destinations outside the cluster. (default true) --enable-pprof Enables pprof for debugging performance and memory leak issues. diff --git a/pkg/options/options.go b/pkg/options/options.go index a86fa515ca..539dd1cc95 100644 --- a/pkg/options/options.go +++ b/pkg/options/options.go @@ -137,7 +137,7 @@ func (s *KubeRouterConfig) AddFlags(fs *pflag.FlagSet) { fs.BoolVar(&s.EnableiBGP, "enable-ibgp", true, "Enables peering with nodes with the same ASN, if disabled will only peer with external BGP peers") fs.BoolVar(&s.EnableIPv4, "enable-ipv4", true, "Enables IPv4 support") - fs.BoolVar(&s.EnableIPv6, "enable-ipv6", true, "Enables IPv6 support") + fs.BoolVar(&s.EnableIPv6, "enable-ipv6", false, "Enables IPv6 support") fs.BoolVar(&s.EnableOverlay, "enable-overlay", true, "When enable-overlay is set to true, IP-in-IP tunneling is used for pod-to-pod networking across "+ "nodes in different subnets. When set to false no tunneling is used and routing infrastructure is "+