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

test/K8sServices: Skip checks for externalTrafficPolicy=Local with kube-proxy <1.15 #11965

Merged

Conversation

gandro
Copy link
Member

@gandro gandro commented Jun 8, 2020

kube-proxy <1.15 does not forward node-local traffic for services
with externalTrafficPolicy=Local if there are no node-local backends.

Therefore we should not test this behavior in CI either. This commit
introduces a version check for kube-proxy and only enables the tests on
kube-proxy >=1.15.

Fixes: 8260696 ("test/K8sServices: skip checks for BPF with externalTrafficPolicy=Local")
Fixes: #11948

/cc @qmonnet @brb

…be-proxy <1.15

kube-proxy <1.15 does not forward node-local traffic for services
with externalTrafficPolicy=Local if there are no node-local backends.

Therefore we should not test this behavior in CI either. This commit
introduces a version check for kube-proxy and only enables the tests on
kube-proxy >=1.15.

Fixes: 8260696 ("test/K8sServices: skip checks for BPF with externalTrafficPolicy=Local")
Fixes: #11948

Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
@gandro gandro added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. needs-backport/1.8 labels Jun 8, 2020
@gandro gandro requested a review from a team as a code owner June 8, 2020 16:15
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.8.0 Jun 8, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.8.0 Jun 8, 2020
@gandro
Copy link
Member Author

gandro commented Jun 8, 2020

test-missed-k8s

@gandro
Copy link
Member Author

gandro commented Jun 8, 2020

test-me-please

@gandro
Copy link
Member Author

gandro commented Jun 8, 2020

(note: this PR fixes test-missed-k8s, which was previously broken)

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 36.982% when pulling ab3d3ad on pr/gandro/ci-node-local-kube-proxy-externaltrafficypolicy into a7cddb0 on master.

@aanm aanm merged commit c0f58e2 into master Jun 9, 2020
1.8.0 automation moved this from In progress to Merged Jun 9, 2020
@aanm aanm deleted the pr/gandro/ci-node-local-kube-proxy-externaltrafficypolicy branch June 9, 2020 08:20
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.8 in 1.8.0 Jun 9, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.8 to Backport done to v1.8 in 1.8.0 Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI.
Projects
No open projects
1.8.0
  
Merged
1.8.0
Backport done to v1.8
Development

Successfully merging this pull request may close these issues.

CI: K8sServicesTest Checks service across nodes Tests NodePort (kube-proxy) with externalTrafficPolicy=Local
6 participants