disable ipv6 by default

This commit is contained in:
Thomas Ferrandiz 2022-07-01 11:54:56 +00:00 committed by Aaron U'Ren
parent 5d04a9fd97
commit 5b7da83c25
2 changed files with 2 additions and 2 deletions

View File

@ -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-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-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-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-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-pod-egress SNAT traffic from Pods to destinations outside the cluster. (default true)
--enable-pprof Enables pprof for debugging performance and memory leak issues. --enable-pprof Enables pprof for debugging performance and memory leak issues.

View File

@ -137,7 +137,7 @@ func (s *KubeRouterConfig) AddFlags(fs *pflag.FlagSet) {
fs.BoolVar(&s.EnableiBGP, "enable-ibgp", true, fs.BoolVar(&s.EnableiBGP, "enable-ibgp", true,
"Enables peering with nodes with the same ASN, if disabled will only peer with external BGP peers") "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.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, 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 "+ "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 "+ "nodes in different subnets. When set to false no tunneling is used and routing infrastructure is "+