Skip to content

Add host network portforward test.#289

Merged
feiskyer merged 1 commit intokubernetes-sigs:masterfrom
Random-Liu:add-hostnet-port-forward
Apr 18, 2018
Merged

Add host network portforward test.#289
feiskyer merged 1 commit intokubernetes-sigs:masterfrom
Random-Liu:add-hostnet-port-forward

Conversation

@Random-Liu
Copy link
Copy Markdown
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 lantaol@google.com

@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
Copy Markdown
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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

Signed-off-by: Lantao Liu <lantaol@google.com>
@Random-Liu Random-Liu force-pushed the add-hostnet-port-forward branch from 47d1a05 to a64b31f Compare April 17, 2018 08:24
@Random-Liu
Copy link
Copy Markdown
Contributor Author

@feiskyer Are you OK with this? :)

Copy link
Copy Markdown
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