File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,9 @@ import (
1111// default route is set for secondary interface NIC(i.e,delegatedNIC)
1212func (k * K8sSWIFTv2Middleware ) setRoutes (podIPInfo * cns.PodIpInfo ) error {
1313 if podIPInfo .NICType == cns .InfraNIC {
14- // as a workaround, set a default route with gw 0.0.0.0 to avoid HNS setting default route to infraNIC interface
15- // TODO: Remove this once HNS supports custom routes adding to the pod
14+ // as a workaround, HNS will not set this dummy default route(0.0.0.0/0, nexthop:0.0.0.0) on infraVnet interface eth0
15+ // the only usage for this dummy default is to bypass HNS setting default route on eth0
16+ // TODO: Remove this once HNS fix is ready
1617 route := cns.Route {
1718 IPAddress : "0.0.0.0/0" ,
1819 GatewayIPAddress : "0.0.0.0" ,
You can’t perform that action at this time.
0 commit comments