Skip to content

Commit

Permalink
disable ipv6 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasferrandiz authored and aauren committed Jan 23, 2023
1 parent 1bc0435 commit a38c97c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pkg/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 "+
Expand Down

0 comments on commit a38c97c

Please sign in to comment.