Skip to content
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

Add host network portforward test. #289

Merged

Conversation

Random-Liu
Copy link
Contributor

We recently found a bug that after getting rid of nsenter, containerd doesn't support portforward for hostnetwork pod. containerd/cri#738

This should be tested in CRI validation test. But this test should not be Conformance, because it requires host network.

Signed-off-by: Lantao Liu [email protected]

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 17, 2018
hostNetNginxImage string = "gcr.io/cri-tools/hostnet-nginx"
nginxContainerPort int32 = 80
// The following host ports must not be in-use when running the test.
nginxHostPortForPortMapping int32 = 8000
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8000 is usually used for local services. Replace those ports above 10000?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@Random-Liu
Copy link
Contributor Author

@feiskyer Are you OK with this? :)

Copy link
Member

@feiskyer feiskyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 18, 2018
@feiskyer feiskyer merged commit db53d78 into kubernetes-sigs:master Apr 18, 2018
@Random-Liu Random-Liu deleted the add-hostnet-port-forward branch April 18, 2018 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants