Hemant Kumar
f5739a15d1
The test was not very useful and required elevated access
2021-06-04 15:48:35 -04:00
Andrew Sy Kim
8eb7e81bc9
proxy/ipvs: add unit test Test_HealthCheckNodePortWhenTerminating for ensuring health check node port fails when all local endpoints are terminating
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
ed4fe07375
proxy/iptables: add unit test Test_HealthCheckNodePortWhenTerminating for ensuring health check node port fails when all local endpoints are terminating
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
14cc201b58
proxy: add test case in TestGetLocalEndpointIPs for when all endpoints are terminating
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
3e459997c8
proxy/ipvs: add a unit tests for when the ProxyTerminatingEndpoint feature gate is disabled
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
68ebd16a2c
proxier/iptables: refactor terminating endpoints unit tests with test table and test for feature gate
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
f92265f654
proxier/ipvs: check feature gate ProxyTerminatingEndpoints
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
8c514cb232
proxier/iptables: check feature gate ProxyTerminatingEndpoints
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
25e2c92733
add feature gate ProxyTerminatingEndpoints
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
cf9ccf5a8e
proxier/ipvs: unit tests should specify Service ports
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
d82d851d89
proxier/iptables: include Service port in unit tests
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
4c8b190372
proxier/iptables: reuse the same variable for endpointchains for better memory consumption
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
55881093d8
proxier/ipvs: add ipvs unit tests for falling back to terminating
...
endpoints
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
9d4e24aa32
proxier/ipvs: fall back to ready terminating if no ready endpoint exists
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:15:40 -04:00
Andrew Sy Kim
b54c0568d8
proxier/iptables: add unit tests for falling back to terminating endpoints
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:15:40 -04:00
Andrew Sy Kim
732635fd4b
proxier/iptables: fallback to terminating endpoints if there are no ready endpoints
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:15:40 -04:00
Andrew Sy Kim
be92fc83e2
proxier: simplify toplogy FilterLocalEndpoint function
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-04 15:15:40 -04:00
Abu Kashem
e797a5a198
client-go: fix flake in test TestRequestWatchWithRetry
2021-06-04 15:12:48 -04:00
Kubernetes Prow Robot
7ed2ed1b45
Merge pull request #102412 from andrewsykim/kill-service-topology
...
Remove deprecated alpha Service topologyKeys field
2021-06-04 10:48:38 -07:00
Abu Kashem
892d4fabb8
Revert "Merge pull request #102581 from liggitt/revert-watch-retry"
...
This reverts commit 5a59a43957
, reversing
changes made to 81b9789eaa
.
2021-06-04 13:45:26 -04:00
Minhan Xia
fbf2d2df26
only delete forwardingrule and address when net tier annotation is specified
2021-06-04 10:04:42 -07:00
Kubernetes Prow Robot
3b71dac6ac
Merge pull request #102593 from CaoDonghui123/fix7
...
remove redundant code
2021-06-04 09:44:38 -07:00
Kubernetes Prow Robot
ed1a2b411d
Merge pull request #102463 from neolit123/1.22-add-usergroup-utils
...
kubeadm: add utilities to manage users and groups
2021-06-04 08:35:26 -07:00
Davanum Srinivas
d9f82f7eba
Drop viper stuff in test/
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-04 09:38:22 -04:00
wangyysde
558bdd18aa
Update cronjob integration test to batch/v1
...
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-06-04 21:04:21 +08:00
Mengjiao Liu
6871b2b3c7
Rename masterConfig to controlPlaneConfig
2021-06-04 20:55:08 +08:00
Kubernetes Prow Robot
a4e5239bdc
Merge pull request #102591 from pohly/disable-health-monitor
...
storage e2e: disable health check containers
2021-06-04 05:37:26 -07:00
Kubernetes Prow Robot
62b5c28506
Merge pull request #102590 from BenTheElder/deb-ipt-script
...
update debian-iptables to v1.6.2
2021-06-04 03:33:35 -07:00
Kubernetes Prow Robot
e4448f2117
Merge pull request #102584 from liggitt/attachdetach-race
...
Fix race in attachdetach tests
2021-06-04 03:33:27 -07:00
caodonghui
812a04539c
remove redundant code
2021-06-04 17:56:46 +08:00
Kubernetes Prow Robot
5c137f1af9
Merge pull request #100939 from wzshiming/feat/subresource-match
...
Feature support FakeClientset match subresource
2021-06-04 02:25:26 -07:00
Kubernetes Prow Robot
5a59a43957
Merge pull request #102581 from liggitt/revert-watch-retry
...
Revert "client-go: add retry logic for Watch and Stream"
2021-06-04 01:21:38 -07:00
Kubernetes Prow Robot
81b9789eaa
Merge pull request #102467 from pacoxu/json-patch-5.5.0
...
upgrade json-patch to v4.11.0
2021-06-04 01:21:26 -07:00
Benjamin Elder
45179bb989
update debian-iptables to v1.6.2
...
picks up https://github.com/kubernetes/release/pull/2106
2021-06-04 01:03:55 -07:00
Patrick Ohly
c26c423b1c
storage e2e: disable health check containers
...
They are not needed for any of the tests and may be causing too much
overhead (see
https://github.com/kubernetes/kubernetes/issues/102452#issuecomment-854452816 ).
We already disabled them earlier and then re-enabled them again
because it wasn't clear how much overhead they were causing. A recent
change in how the sidecars get
deployed (https://github.com/kubernetes/kubernetes/pull/102282 ) seems
to have made the situation worse again. There's no logical explanation
for that yet, though.
(cherry picked from commit 0c2cee5676e64976f9e767f40c4c4750a8eeb11f)
2021-06-04 09:57:02 +02:00
Marek Siarkowicz
82be7aad26
Update etcd makefile to build v3.5.0-rc.0 image
2021-06-04 08:31:19 +02:00
Kubernetes Prow Robot
635f2c7c2a
Merge pull request #99575 from navist2020/fix/logs_info
...
Simply modify the Kubectl logs information
2021-06-03 23:25:25 -07:00
pacoxu
ceaf9b9d16
add ut for preventing dropping null from arrays
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-06-04 14:11:19 +08:00
Jordan Liggitt
ca279bbcc1
Fix race in attachdetach tests
2021-06-04 01:59:32 -04:00
pacoxu
6e0650e3e1
upgrade gopkg.in/evanphx/json-patch to v4.11.0
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-06-04 13:15:09 +08:00
Jordan Liggitt
e35af41a12
Revert "client-go: add retry logic for Watch and Stream"
...
This reverts commit 607d381949
.
2021-06-04 01:11:25 -04:00
Kubernetes Prow Robot
b24b7d5a20
Merge pull request #102489 from saschagrunert/http-stream-nil
...
Fix regression for timed-out stream cleanups
2021-06-03 21:59:45 -07:00
Kubernetes Prow Robot
38783bfeb7
Merge pull request #102059 from jsafrane/fix-consistentread
...
Retry reading /proc/mounts when unable to get a consistent read
2021-06-03 21:59:37 -07:00
Kubernetes Prow Robot
3a2092345e
Merge pull request #101082 from jsafrane/translate-aws-allowAutoIOPSPerGBIncrease
...
Add allowAutoIOPSPerGBIncrease to translated AWS EBS StorageClasses
2021-06-03 21:59:25 -07:00
Kubernetes Prow Robot
271f54632b
Merge pull request #102533 from aojea/lb_flakes
...
Lb flakes
2021-06-03 20:53:38 -07:00
Kubernetes Prow Robot
adf8df7b73
Merge pull request #102477 from yuzhiquan/master
...
FIx failing tests: [sig-storage] Test_ADC_VolumeAttachmentRecovery/Deleted_Pod_with_migrated_PV
2021-06-03 20:53:26 -07:00
Kubernetes Prow Robot
4acbd1d7c8
Merge pull request #102420 from m14815/commit-21.5.2
...
Error message should not be capitalized.
2021-06-03 19:39:25 -07:00
Shiming Zhang
58833d652d
Support subresource match
...
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
2021-06-04 10:35:43 +08:00
Andrew Sy Kim
38d3ae1a06
api: update API compatibility tests to remove topologyKeys from Service
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-03 22:33:20 -04:00
Andrew Sy Kim
e9c7fa49d9
core/v1: add unit tests to ensure deprecated protobuf field numbers are not re-used
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-03 22:17:46 -04:00