Commit Graph

87202 Commits

Author SHA1 Message Date
Zach Shepherd
2b554079af
Ensure a provider ID is set on a node if expected
A transient issue might occur that causes an error to be returned by
InstanceID(). When this is ignored, the external cloud provider taint
will be removed and neither AddCloudNode() nor UpdateCloudNode() will
try to set a provider ID in the future.

By returning the error we can ensure that the external cloud provider
taint is not removed prematurely, allowing the operation to be retried
(until the provider ID can be set).

Preserve support for external cloud providers that do not use IDs by
continuing if a NotImplemented error is returned, making a distinction
between lack of support for provider IDs and an actual error.

Introduce pair of unit tests that show a provider ID will eventually
be set if an error is returned, unless that error is a NotImplemented,
in which case the external cloud provider taint will be removed.
2020-01-10 11:00:54 -08:00
Kubernetes Prow Robot
eedf1945b5
Merge pull request #86998 from denkensk/rm-errserviceaffinityviolated
Remove ErrServiceAffinityViolated scheduler predicate error
2020-01-09 11:33:42 -08:00
Kubernetes Prow Robot
407b29fa05
Merge pull request #86981 from alculquicondor/fix/node_info_list_2
Remove uses of NodeInfoMap outside of snapshot and cache
2020-01-09 11:33:31 -08:00
Kubernetes Prow Robot
6026a6a151
Merge pull request #86952 from zhouya0/fix_kubectl_annotate_local_error
fix kubectl annotate error when local=true is set.
2020-01-09 11:33:20 -08:00
Kubernetes Prow Robot
7a67ea7211
Merge pull request #86885 from liggitt/yaml-test
Move yaml limit tests to benchmarks
2020-01-09 11:33:10 -08:00
Kubernetes Prow Robot
d039021d6a
Merge pull request #86495 from pjh/smoke-again
Repair smoke-test for Windows GCE clusters
2020-01-09 11:33:02 -08:00
Kubernetes Prow Robot
91e55c7927
Merge pull request #85154 from johnbelamaric/johnbelamaric-conformance-owners
Add johnbelamaric as conformance code reviewer/approver
2020-01-09 11:32:47 -08:00
Kubernetes Prow Robot
daaa0b9c6b
Merge pull request #84163 from david-tigera/update-calico-v3.8.4
Update Calico to v3.8.4
2020-01-09 11:32:34 -08:00
Kubernetes Prow Robot
b9c0aa0b2a
Merge pull request #86782 from tanjunchen/remove-TODO-test/e2e/framework/node/resource
remove TODO in test/e2e/framework/node/resource.go
2020-01-09 09:17:58 -08:00
Kubernetes Prow Robot
99715d7e60
Merge pull request #86474 from zhouya0/fix_apply_set_last_applied_namespace
fix kubectl apply set last applied namespace error
2020-01-09 09:17:45 -08:00
Aldo Culquicondor
bcab9b4c9e Remove uses of NodeInfoMap outside of snapshot and cache
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-09 10:04:11 -05:00
Kubernetes Prow Robot
32d8799ef1
Merge pull request #86979 from ahg-g/ahg-cleanup2
Move TaintToleration predicate to its plugin
2020-01-09 06:53:45 -08:00
Abdullah Gharaibeh
50b697bacb move TaintToleration predicate to its plugin 2020-01-09 08:14:53 -05:00
Kubernetes Prow Robot
edad4bbfc8
Merge pull request #86940 from skilxn-go/master
Add VolumeBinder to FrameworkHandle interface
2020-01-09 03:01:45 -08:00
Kubernetes Prow Robot
ef69bc910f
Merge pull request #86991 from oomichi/skip
Move IsAppArmorSupported() from e2e framework
2020-01-08 23:45:44 -08:00
Alex Wang
80127fe10f rm errserviceaffinityviolated 2020-01-09 15:08:59 +08:00
Kubernetes Prow Robot
2c800c5a70
Merge pull request #86985 from ahg-g/ahg-cleanup4
Remove test/integration dependency on predicates and algorithmprovider
2020-01-08 21:29:58 -08:00
Kubernetes Prow Robot
4d41f4809f
Merge pull request #86890 from damemi/move-selector-spread-to-plugin
Move selector spreading priority code to plugin
2020-01-08 21:29:45 -08:00
Kubernetes Prow Robot
9db337be05
Merge pull request #86983 from ahg-g/ahg1-cleanup3
Remove test/e2e dependency on scheduler/predicates package
2020-01-08 19:12:31 -08:00
Kubernetes Prow Robot
b3c94d3fb9
Merge pull request #86966 from bharaththiruveedula/master
Fix interpodaffinity issue
2020-01-08 19:12:20 -08:00
Kubernetes Prow Robot
4426ccb2a6
Merge pull request #86963 from ahg-g/ahg-status
Update scheduler's RunFilterPlugins to return a plugin to status map
2020-01-08 19:12:12 -08:00
Kubernetes Prow Robot
5b4d1bf559
Merge pull request #86931 from roycaihw/crd-openapi-deflake
crd openapi e2e: increase waitForOpenAPISchema timeout
2020-01-08 19:12:01 -08:00
Kubernetes Prow Robot
4d95d40a41
Merge pull request #86836 from haosdent/clean-filter-deps-interpodaffinity
Break interpodaffinity Filter plugins dependency on predicates package
2020-01-08 19:11:53 -08:00
Kubernetes Prow Robot
61cf95f2a9
Merge pull request #86366 from mortent/DeflakePDBTest
Change PDB tests to use pod conditions instead of phase
2020-01-08 19:11:39 -08:00
skilxn-go
5def91d778 Add VolumeBinder to FrameworkHandle interface 2020-01-09 10:29:35 +08:00
Kubernetes Prow Robot
2bd9f5737a
Merge pull request #86924 from aojea/tcpclosev6
fix e2e test TCP CLOSE_WAIT
2020-01-08 18:01:39 -08:00
Abdullah Gharaibeh
c86f59610c remove test/integration dependency on predicates and algorithmprovider 2020-01-08 19:51:22 -05:00
Kubernetes Prow Robot
720e6de6b9
Merge pull request #85168 from Jefftree/admission-wh-proxy
Use Network Proxy for Admission Webhooks
2020-01-08 16:07:40 -08:00
Jefftree
1289bdaba4 network proxy with admission wh 2020-01-08 15:01:38 -08:00
Kubernetes Prow Robot
d3f976d345
Merge pull request #86962 from spiffxp/demote-delete-grace-period
Demote Delete Grace Period test to [Flaky]
2020-01-08 14:47:03 -08:00
Kubernetes Prow Robot
b558cff8f5
Merge pull request #86950 from yuzhiquan/patch-pod
cleanup(api-machinery): remove unused struct and variable
2020-01-08 14:46:48 -08:00
Kubernetes Prow Robot
8046feb2b3
Merge pull request #86947 from gavinfish/drfish_redundant_nil_check
Remove redundant nil check in apiserver integration test
2020-01-08 14:46:34 -08:00
Kubernetes Prow Robot
792fe793a1
Merge pull request #86946 from cchord/fix_typo
fix typo
2020-01-08 14:46:24 -08:00
Kubernetes Prow Robot
968361dc83
Merge pull request #86945 from hase1128/add-simple-explanation-to-verify-spelling-script
Add simple explanation to verify-spelling.sh
2020-01-08 14:46:14 -08:00
Kubernetes Prow Robot
ca05f4c63b
Merge pull request #86930 from alculquicondor/fix/node_info_list
Use Snapshot.NodeInfoList for listing operations
2020-01-08 14:46:03 -08:00
Kubernetes Prow Robot
af202d207f
Merge pull request #86891 from gnufied/move-publish-unpublish-check
Move publish and unpublish counting up in test
2020-01-08 14:45:53 -08:00
Kubernetes Prow Robot
a233e0115b
Merge pull request #85944 from SataQiu/fix-es-20191205
Addons: elasticsearch supports automatically setting the advertise address
2020-01-08 14:45:39 -08:00
Abdullah Gharaibeh
21202b08d4 remove e2e dependency on scheduler/predicates package 2020-01-08 17:24:42 -05:00
Peter Hornyack
9b17de7462 Repair smoke-test for Windows GCE clusters 2020-01-08 14:00:50 -08:00
Abdullah Gharaibeh
f3c7a4c823 Update scheduler's RunFilterPlugins to return a plugin to status map 2020-01-08 16:44:51 -05:00
Kubernetes Prow Robot
79bb357193
Merge pull request #84654 from liggitt/drop-openapi-version
Drop version from static openapi json file
2020-01-08 11:59:39 -08:00
Bharath Thiruveedula
8e3c1b54a7 Fix interpodaffinity issue
Signed-off-by: Bharath Thiruveedula <bharath_ves@hotmail.com>
2020-01-09 01:18:49 +05:30
Haowei Cai
326935c1b9 extend crd openapi e2e timeout to deflake the test, plus small improvements:
switch to use discovery rest client, which has higher burst/qps settings;
use jsoniter instead of encoding/json in kube-aggregator downloader.
2020-01-08 11:38:44 -08:00
Mike Dame
d227b7822f Move selector spreading priority code to plugin 2020-01-08 13:37:37 -05:00
Aaron Crickenberger
4d731d92bf Demote Delete Grace Period test to [Flaky]
This is currently the top flake against PRs, so I'm tagging it
as [Flaky]. Flaky tests can't be conformance tests, so I'm
removing it from [Conformance] as well until this is resolved.
2020-01-08 10:12:47 -08:00
Kubernetes Prow Robot
b34c96b62c
Merge pull request #86764 from haosdent/migrate-servie-affinity
Break serviceaffinity Filter plugins dependency on predicates package
2020-01-08 08:47:39 -08:00
Aldo Culquicondor
5d916e20dd Use Snapshot.NodeInfoList for listing operations
instead of iterating over NodeInfoMap.

Also remove redundant queries to NodeInfoMap.

Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-08 09:45:36 -05:00
Kubernetes Prow Robot
6c677b52a1
Merge pull request #86856 from ii/create-test-for-finding-service-from-listing-all-namespaces
Create test for finding service from listing all namespaces
2020-01-08 06:33:40 -08:00
Kenichi Omichi
f3c70a2ed2 Move IsAppArmorSupported() from e2e framework
The function is only used at a single place.
This moves it to the place.
2020-01-08 13:46:50 +00:00
Antonio Ojea
704ec25352
fix flakes on e2e test TCP CLOSE_WAIT timeout
it turns out that the e2e test was not using the timeout used to
hold the CLOSE_WAIT status, hence the test was flake depending
on how fast it checked the conntrack table.

This PR replaces the dependency on ssh using a pod to check the conntrack
entries on the host in a loop, to make the test more robust
and reduce the flakiness due to race conditions and/or ssh issues.

It also fixes a bug trying to grep the conntrack entry, where
the error was swallowed if a conntrack entry wasn't found.
2020-01-08 12:47:53 +01:00