Commit Graph

87466 Commits

Author SHA1 Message Date
Jennifer Buckley
4db3822ebb
Update fieldmanager.go 2020-01-10 11:15:06 -08:00
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
Cecile Robert-Michon
bf30f75ec6 Update azure_test.go 2020-01-10 10:57:02 -08:00
yue9944882
70dea6e4a8 review: several fixes and addressing comments 2020-01-11 01:46:31 +08:00
Kubernetes Prow Robot
66262e351d
Merge pull request #87060 from willise/master
fix: typos in comments of admission
2020-01-10 08:58:58 -08:00
Kubernetes Prow Robot
a66adcb4f1
Merge pull request #87050 from KobayashiD27/fixgolint
fix golint error in pkg/apis/rbac
2020-01-10 08:58:48 -08:00
Kubernetes Prow Robot
a5a48d0bf3
Merge pull request #87037 from Huang-Wei/remove-util-pkg
Cleanup scheduler/algorithm/predicates package
2020-01-10 08:58:35 -08:00
andrewsykim
2dc966348d add myself as feature approver (for SIG cloud provider)
Signed-off-by: andrewsykim <kim.andrewsy@gmail.com>
2020-01-10 11:34:29 -05:00
Kubernetes Prow Robot
3341611480
Merge pull request #87001 from chendotjs/ipvs-typofix
fix typo in ipvs proxier README
2020-01-10 06:24:34 -08:00
Jin Hase
8da4a1d97f Add some comment to hack/verify-linkcheck.sh 2020-01-10 20:12:30 +09:00
danielqsj
0e8b956e27 clean deprecated apiserver request metrics 2020-01-10 17:09:26 +08:00
danielqsj
606e4503cf remove last part of deprecated metrics 2020-01-10 17:05:38 +08:00
danielqsj
2c2e1c5443 keep apiserver_request_latencies_summary 2020-01-10 17:05:38 +08:00
danielqsj
ab182552b4 clean SinceInMicroseconds, convert to SinceInSeconds 2020-01-10 17:05:38 +08:00
danielqsj
a8f2feaeb5 remove deprecated metrics of proxy 2020-01-10 17:05:38 +08:00
danielqsj
8ae3f80048 remove deprecated metrics of dockershim 2020-01-10 17:05:38 +08:00
danielqsj
060756babb remove deprecated metrics of apiserver 2020-01-10 17:05:37 +08:00
danielqsj
85931af1ee remove deprecated metrics of scheduler 2020-01-10 17:03:40 +08:00
yuxiaobo
d2cfd4b82f apply review advice again
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-10 16:47:30 +08:00
danielqsj
447b17587b remove deprecated metrics of etcd 2020-01-10 16:46:52 +08:00
danielqsj
1a9b121764 remove deprecated metrics of kubelet 2020-01-10 16:46:52 +08:00
tanjunchen
8c481022c1 e2e/node/:Use e2eskipper package 2020-01-10 16:21:12 +08:00
Kubernetes Prow Robot
e3f90df767
Merge pull request #87052 from oomichi/add-error-handling-issue86678
Add error handling of CloseWrite()
2020-01-10 00:20:34 -08:00
Quan Tian
c84a371f3d Fix a flaky e2e test of Job completion
The test was flaky because it required the job succeeds 3 times with
pseudorandom 50% failure chance within 15 minutes, while there is an
exponential back-off delay (10s, 20s, 40s …) capped at 6 minutes before
recreating failed pods. As 7 consecutive failures (1/128 chance) could
take 20+ minutes, exceeding the timeout, the test failed intermittently
because of "timed out waiting for the condition".

This PR forces the Pods of a Job to be scheduled to a single node and
uses a hostPath volume instead of an emptyDir to persist data across new
Pods.
2020-01-10 16:04:56 +08:00
toyoda
91dca8ff8c Use e2eskipper package in e2e/apps 2020-01-10 15:08:19 +09:00
willise
e8b5658bd1 fix: typos in comments of admission 2020-01-10 14:01:06 +08:00
Kubernetes Prow Robot
9269b5d430
Merge pull request #87014 from notpad/fix/comments
Fix comment
2020-01-09 21:58:55 -08:00
Kubernetes Prow Robot
75a8715145
Merge pull request #84058 from claudiubelu/test-image-publishing
test images: Adds E2E test image automated build
2020-01-09 21:58:35 -08:00
Alex Wang
0bab010b45 clean unused predicate error 2020-01-10 13:06:29 +08:00
Wei Huang
b2159b5d66
Remove scheduler/algorithm/priorities/util package 2020-01-09 20:16:05 -08:00
Kubernetes Prow Robot
387e6931e5
Merge pull request #87031 from oomichi/move-skip
Separate skip as framework subpackage
2020-01-09 20:13:17 -08:00
Kubernetes Prow Robot
7a50fdb2a6
Merge pull request #85993 from chendotjs/fix-cidr
kubenet: replace gateway with cni result
2020-01-09 20:13:04 -08:00
Kubernetes Prow Robot
d350ace52b
Merge pull request #84373 from serathius/metrics-stability-variables
Allow usage of consts and variables for stable metrics in static analysis
2020-01-09 20:12:49 -08:00
Kubernetes Prow Robot
0c026656fe
Merge pull request #83358 from wawa0210/zx-kubedns
Bind  kube-dns containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes
2020-01-09 20:12:35 -08:00
Kenichi Omichi
99b135442c Add error handling of CloseWrite()
The e2e test "Kubectl Port forwarding With a server listening .."
is failed sometimes due to the difference between expected data and
received data. To receive the data, the test does CloseWrite() but
it didn't have the corresponding error handling.
This adds it to investigate the issue more.
2020-01-10 03:14:39 +00:00
Wei Huang
6aaf0bb41b
Cleanup scheduler/algorithm/predicates package 2020-01-09 19:01:31 -08:00
Kubernetes Prow Robot
36abc02533
Merge pull request #86997 from draveness/feature/cleanup-priority-package
refactor: remove several files in priorities package
2020-01-09 18:42:35 -08:00
Caleb Woodbine
dcd4dcdf21 Update: comments, searching for secrets in lists 2020-01-10 02:38:49 +00:00
Rita Zhang
b062fcb117
Update Azure owners 2020-01-09 18:35:18 -08:00
Kobayashi Daisuke
fee0d43d23 fix golint error in pkg/apis/rbac 2020-01-10 11:22:05 +09:00
drfish
010b885236 Remove workaround for RS bug in cmd apps test 2020-01-10 09:39:54 +08:00
draveness
2c3c6721ce refactor(scheduling): remove priorities package 2020-01-10 09:05:39 +08:00
Kubernetes Prow Robot
da9fdc933b
Merge pull request #87036 from aojea/fixtcpclose
Revert "fix flakes on e2e test TCP CLOSE_WAIT timeout"
2020-01-09 16:10:56 -08:00
Kubernetes Prow Robot
adb8b08e91
Merge pull request #86905 from draveness/feature/disable-scheduling-plugin
feat(scheduling): address disabled plugins in scheduling framework
2020-01-09 16:10:47 -08:00
Kubernetes Prow Robot
e648e944e0
Merge pull request #86848 from haosdent/clean-filter-deps-nodeunschedulable
Break nodeunschedulable Filter plugins dependency on predicates package
2020-01-09 16:10:34 -08:00
Kevin Wiesmüller
a252628649 fix nits 2020-01-10 00:58:52 +01:00
jennybuckley
6cab3a7bec create probabilistic SkipNonAppliedManager 2020-01-09 15:37:11 -08:00
Caleb Woodbine
07e3c46cb4 Add: secret data patch check 2020-01-09 22:05:28 +00:00
Kevin Wiesmüller
ddf0d4b803 change Apply signature and move decoding into handlers 2020-01-09 22:50:18 +01:00
Kubernetes Prow Robot
aef336d712
Merge pull request #86999 from draveness/feature/remove-ErrTopologySpreadConstraintsNotMatch
fix: remove ErrTopologySpreadConstraintsNotMatch
2020-01-09 13:29:42 -08:00