-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
auto egress IP fixes #16659
auto egress IP fixes #16659
Conversation
From @pravisankar 's too-late comments on #16561:
fixed
No... but we aren't requiring IPv4 in most of the other places we only support IPv4 either. I'll file a bug about that.
I guess technically it would work to have one map from node IP to (just) egress IP, and a second map from egress IP to (just) node IP, but I prefer it with the struct, which makes it more obviously parallel to the namespace maps, where we do need the structs
Yeah... I was going to fix that, but then I didn't. It seems like it could return an error potentially in the future...
Because of previous checks, it's guaranteed that it's either unset, or already this IP.
Fixed
Fixed
Fixed |
|
@eparis need an approval from you for "API changes" (I just belatedly marked the new EgressIP fields |
Is there an egress extended test? |
No, but there are some unit tests. I guess it would be possible to test in the extended tests, given that pod-to-(public)-node-IP traffic is considered external, so we could run a server in a hostNetwork=true pod on one node and host an egress IP on another... |
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
Something we can queue up for 3.8, but i'd like to have at least one
extended test for all features that runs in reasonable time. GCE runs with
subnet today.
…On Tue, Oct 3, 2017 at 12:37 PM, Dan Winship ***@***.***> wrote:
No, but there are some unit tests.
I guess it would be possible to test in the extended tests, given that
pod-to-(public)-node-IP traffic is considered external, so we could run a
server in a hostNetwork=true pod on one node and host an egress IP on
another...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#16659 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABG_p4YdS-t1WEXhfFA0gD1-wEl73pyqks5somLHgaJpZM4PsT6w>
.
|
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danwinship, eparis The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue (batch tested with PRs 16625, 16659). |
@danwinship: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Some fixes to the auto egress IP code