docs: clarify auto-mtu flag purpose

This commit is contained in:
Aaron U'Ren 2022-02-02 15:50:37 -06:00
parent d27c317891
commit c5af115703
2 changed files with 3 additions and 2 deletions

View File

@ -44,7 +44,7 @@ Usage of kube-router:
--advertise-external-ip Add External IP of service to the RIB so that it gets advertised to the BGP peers. --advertise-external-ip Add External IP of service to the RIB so that it gets advertised to the BGP peers.
--advertise-loadbalancer-ip Add LoadbBalancer IP of service status as set by the LB provider to the RIB so that it gets advertised to the BGP peers. --advertise-loadbalancer-ip Add LoadbBalancer IP of service status as set by the LB provider to the RIB so that it gets advertised to the BGP peers.
--advertise-pod-cidr Add Node's POD cidr to the RIB so that it gets advertised to the BGP peers. (default true) --advertise-pod-cidr Add Node's POD cidr to the RIB so that it gets advertised to the BGP peers. (default true)
--auto-mtu Auto detect and set the largest possible MTU for pod interfaces. (default true) --auto-mtu Auto detect and set the largest possible MTU for kube-bridge and pod interfaces (also accounts for IPIP overlay network when enabled). (default true)
--bgp-graceful-restart Enables the BGP Graceful Restart capability so that routes are preserved on unexpected restarts --bgp-graceful-restart Enables the BGP Graceful Restart capability so that routes are preserved on unexpected restarts
--bgp-graceful-restart-deferral-time duration BGP Graceful restart deferral time according to RFC4724 4.1, maximum 18h. (default 6m0s) --bgp-graceful-restart-deferral-time duration BGP Graceful restart deferral time according to RFC4724 4.1, maximum 18h. (default 6m0s)
--bgp-graceful-restart-time duration BGP Graceful restart time according to RFC4724 3, maximum 4095s. (default 1m30s) --bgp-graceful-restart-time duration BGP Graceful restart time according to RFC4724 3, maximum 4095s. (default 1m30s)

View File

@ -103,7 +103,8 @@ func (s *KubeRouterConfig) AddFlags(fs *pflag.FlagSet) {
fs.BoolVar(&s.AdvertiseNodePodCidr, "advertise-pod-cidr", true, fs.BoolVar(&s.AdvertiseNodePodCidr, "advertise-pod-cidr", true,
"Add Node's POD cidr to the RIB so that it gets advertised to the BGP peers.") "Add Node's POD cidr to the RIB so that it gets advertised to the BGP peers.")
fs.BoolVar(&s.AutoMTU, "auto-mtu", true, fs.BoolVar(&s.AutoMTU, "auto-mtu", true,
"Auto detect and set the largest possible MTU for pod interfaces.") "Auto detect and set the largest possible MTU for kube-bridge and pod interfaces (also accounts for "+
"IPIP overlay network when enabled).")
fs.BoolVar(&s.BGPGracefulRestart, "bgp-graceful-restart", false, fs.BoolVar(&s.BGPGracefulRestart, "bgp-graceful-restart", false,
"Enables the BGP Graceful Restart capability so that routes are preserved on unexpected restarts") "Enables the BGP Graceful Restart capability so that routes are preserved on unexpected restarts")
fs.DurationVar(&s.BGPGracefulRestartDeferralTime, "bgp-graceful-restart-deferral-time", fs.DurationVar(&s.BGPGracefulRestartDeferralTime, "bgp-graceful-restart-deferral-time",