|
if len(gw.Status.Addresses) > 16 { |
|
relevantAddresses = append(relevantAddresses, nodeAddresses.IPv4...) |
those two logic are fight each other..
may be we should truncate the addresses to 16 in UpdateGatewayStatusProgrammedCondition? it should be programmed when use nodeport service in a large cluster.