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
dockershim hostport manager use HostIP #98755
Conversation
/hold /test |
@aojea: The
Use
In response to this:
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. |
41c9c3e
to
d7ab35b
Compare
the kubelet seems is using kubenet (that is the one used for the hostport thing with kubernetes)
and the test passes now:
|
d7ab35b
to
f2430e1
Compare
The hostport tests passes now, these tests are failing though, I think that is due to the commit to force the runtime, will recheck
|
f2430e1
to
845de65
Compare
/assign @thockin @BenTheElder @liggitt |
/retest |
/milestone v1.21 this has conformance implications, without this dockershim nodes cannot pass conformance. |
I don't have the networking expertise to review this, but I'm +💯 on making sure dockershim can pass conformance tests. /unassign |
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.
Can we cherry pick to 1.20? Ref: kubernetes/test-infra#20688 (comment)
this looks good to me but I would rather someone with some experience with this code give the lgtm and approval |
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.
Despite the size, this seems OK to me.
Do you want to clean up the commits? "TEMP" sets off alarm bells.
/approve
@@ -148,14 +148,14 @@ func (f *fakeIPTables) ensureRule(position utiliptables.RulePosition, tableName | |||
return true, nil | |||
} | |||
|
|||
if position == utiliptables.Prepend { |
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.
Ideally this would be in a sub-pkg, not linked into prod code. Not going to hold this up for that.
the hostport manager was not taking into consideration the hostIP when binding the socket of the hostPort, causing that the same HostPort can not be used with different IP addresses.
f1785e4
to
ad4776b
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, thockin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
/lgtm |
…upstream-release-1.20 Automated cherry pick of #98755 upstream release 1.20
the hostport manager was not taking into consideration the hostIP
when binding the socket of the hostPort, causing that the same
HostPort can not be used with different IP addresses.
What type of PR is this?
/kind bug
/kind failing-test
Fixes: #98648