-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the first matching address when getting node address #5529
Conversation
d98f846
to
5cca691
Compare
Some cloud providers can return multiple addresses of the same type for a Node. We should use the first matching address to find the correct transport interface. Signed-off-by: Xu Liu <[email protected]>
5cca691
to
f3ab2be
Compare
/test-all |
/test-ipv6-e2e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/test-ipv6-only-e2e |
2 similar comments
/test-ipv6-only-e2e |
/test-ipv6-only-e2e |
The only failing case should not be related to this change:
|
The test failed twice, but it was not related to the change but due to slowness of pulling netshoot image. Sep 28 00:07:48 antrea-ipv6-testbed-2 kubelet[602310]: I0928 00:07:48.072970 602310 pod_startup_latency_tracker.go:102] "Observed pod startup duration" pod="testantreapolicy-dptey6id/clientqvv1rjyv" podStartSLOduration=3.794137827 podCreationTimestamp="2023-09-28 00:06:06 +0000 UTC" firstStartedPulling="2023-09-28 00:06:08.980239379 +0000 UTC m=+7316682.540099112" lastFinishedPulling="2023-09-28 00:07:47.259021759 +0000 UTC m=+7316780.818881572" observedRunningTime="2023-09-28 00:07:48.072764125 +0000 UTC m=+7316781.632623862" watchObservedRunningTime="2023-09-28 00:07:48.072920287 +0000 UTC m=+7316781.632779992" |
#5536 should fix the failure. |
Some cloud providers can return multiple addresses of the same type for a Node. We should use the first matching address to find the correct transport interface.
Signed-off-by: Xu Liu [email protected]