kubernetes/test
Kubernetes Submit Queue dd00bc65f9
Merge pull request #55122 from MrHohn/fix-session-affinity-e2e
Automatic merge from submit-queue (batch tested with PRs 55114, 52976, 54871, 55122, 55140). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Don't share nodePort service in session affinity tests

**What this PR does / why we need it**:
From https://github.com/kubernetes/kubernetes/issues/54524, https://github.com/kubernetes/kubernetes/issues/54571.

Spent sometime to dig into it today, found this test is flaky mostly because it sends out service requests before kube-proxy reacts on the service session affinity update, hence multiple endpoints are responding instead of one. It is more flaky in alpha CIs probably due to different test sequences.

This PR creates a separate service with `sessionAffinity=ClientIP` so there wouldn't be a race between test begins and kube-proxy reacts. On the other hand, it also seems inappropriate to tweak the`config.NodePortService`, which is shared by other networking tests.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes # (will mark them fixed later).

**Special notes for your reviewer**:
/assign @m1093782566 @bowei 
cc @spiffxp

**Release note**:

```release-note
NONE

```
2017-11-06 23:19:21 -08:00
..
conformance Update conformance testdata for storage test 2017-10-31 11:07:32 +08:00
e2e Merge pull request #55122 from MrHohn/fix-session-affinity-e2e 2017-11-06 23:19:21 -08:00
e2e_node Merge pull request #54688 from yanxuean/besteffort 2017-11-06 15:33:50 -08:00
fixtures add test for convert 2017-11-01 01:14:24 -07:00
images remove the wrongly checked in binary 2017-11-05 15:52:16 -08:00
integration move KubeProxyConfiguration out of componentconfig API group 2017-11-04 11:38:57 +08:00
kubemark Merge pull request #53520 from shun-miyoshi-com/fix_old_name 2017-10-17 01:36:33 -07:00
list update BUILD files 2017-10-15 18:18:13 -07:00
soak Update bazel 2017-10-18 17:24:04 +02:00
utils Merge pull request #54331 from crimsonfaith91/dfailed 2017-10-27 15:19:20 -07:00
BUILD Add conformance test regression test. 2017-10-27 15:31:20 -07:00
OWNERS Add timothysc to test approvers 2017-10-19 09:03:01 -05:00
test_owners.csv remove tpr from test_owners.csv 2017-11-03 21:17:10 +05:30
test_owners.json Remove all traces of federation 2017-10-26 13:37:37 -07:00