Chris Henzie
736b7e15b7
Remove duplicate test CSI plugin constructor logic
2021-01-06 16:32:41 -08:00
Chris Henzie
359b9e3383
Ensure CSI test plugin informers are synced before returning
...
This way of syncing informers ensures all informers generated from these
factories are synced. Informers are lazy loaded, and only created once a
user calls .Informer() (which was why the .PollImmediate() worked).
Asserting the number of synced types to ensure everything is set up
correctly.
2021-01-06 16:11:50 -08:00
Chris Henzie
257704b30d
Remove setupInformer argument from test CSI plugin constructor
2021-01-06 16:11:50 -08:00
Chris Henzie
70eddfefec
Ensure goroutines exit in CSI attacher tests
...
The reason for adding an expectedVolumeHost field is to prevent a
channel read from hanging when a test fails prior to creating the
VolumeAttachment watch.
2021-01-06 16:11:50 -08:00
Chris Henzie
f098ada9d1
Extract watch reactor out of test CSI plugin constructor
2021-01-06 16:11:50 -08:00
Chris Henzie
195a5af23b
Make volume attachment watch timeout configurable for csiAttacher
2021-01-06 16:11:39 -08:00
Chris Henzie
b4e3f272b9
Remove unused waitSleepTime field in csiAttacher
2021-01-06 15:45:56 -08:00
Kubernetes Prow Robot
81b13a912c
Merge pull request #97314 from abowloflrf/patch-1
...
fix typo in dns.go
2021-01-06 15:21:45 -08:00
Kubernetes Prow Robot
e456b45a2a
Merge pull request #97749 from heqg/errorf-wrap
...
The code in TestNonePolicyName does not need to wrap, so fix it.
2021-01-06 12:02:04 -08:00
Kubernetes Prow Robot
39483aa095
Merge pull request #96889 from jsafrane/fix-kubelet-symlink
...
Fix loopback device lookup
2021-01-05 20:57:51 -08:00
he.qingguo
8826d12bb0
The code in TestNonePolicyName does not need to wrap, so fix it.
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn >
2021-01-06 10:48:30 +08:00
Kubernetes Prow Robot
b39494ce35
Merge pull request #97374 from geegeea/golint
...
Fix golint issues in pkg/kubelet/types
2021-01-05 17:10:03 -08:00
Kubernetes Prow Robot
10c1c3acf6
Merge pull request #96906 from Rajalakshmi-Girish/issue-96853
...
Fixes the unit tests to be more tolerant with error messages
2021-01-05 17:09:51 -08:00
Kubernetes Prow Robot
86f8c3ee91
Merge pull request #97591 from gavinfish/sched-interpodaffinity-typo
...
Cleanup: fix typos in scheduler interpodaffinity package
2021-01-05 15:12:05 -08:00
Kubernetes Prow Robot
e8b3a02fd2
Merge pull request #97572 from gavinfish/gc-test-typo
...
Cleanup: fix typos in garbagecollector_test.go
2021-01-05 15:11:53 -08:00
Kubernetes Prow Robot
8b24d1f2f9
Merge pull request #96806 from CKchen0726/master
...
remove input parameter that is invalid before
2021-01-05 13:27:53 -08:00
Kubernetes Prow Robot
571a7ce2c1
Merge pull request #97348 from josephburnett/bistable-review
...
Up and down scale stabilize with envelope.
2021-01-05 12:39:59 -08:00
Kubernetes Prow Robot
d4bbe3e691
Merge pull request #97617 from alculquicondor/convert-job
...
Use autogenerated Job conversion functions
2021-01-05 11:47:02 -08:00
Kubernetes Prow Robot
72ede75d9c
Merge pull request #97587 from heqg/typo-expected-01
...
Fix typo in pkg/volume/rbd/rbd_test.go
2021-01-05 11:46:54 -08:00
Kubernetes Prow Robot
0300aa712e
Merge pull request #97543 from pacoxu/fix/94495-ga
...
remove LegacyNodeRoleBehavior and mv ServiceNodeExclusion to GA
2021-01-05 11:46:45 -08:00
Kubernetes Prow Robot
4dc3a42712
Merge pull request #97427 from klueska/upstream-fix-cpumanager-race
...
Fix bug in CPUManager with race on container map access
2021-01-05 11:46:28 -08:00
Kubernetes Prow Robot
b37e9a440e
Merge pull request #97193 from JornShen/flaky_devicemanager_test
...
[flaky test] fix devicemanager TestDevicePluginReRegistrationProbeMode failed
2021-01-05 11:46:21 -08:00
Kubernetes Prow Robot
974404757d
Merge pull request #96929 from gavinfish/sched-plugin-core
...
Scheduler: Move PodPassesFiltersOnNode out of core to avoid plugin dependency
2021-01-05 11:46:13 -08:00
Kubernetes Prow Robot
07bd985724
Merge pull request #96561 from ialidzhikov/cleanup/csi-node-info
...
Remove CSINodeInfo feature gate
2021-01-05 11:46:00 -08:00
Kubernetes Prow Robot
172cb33f32
Merge pull request #97509 from aldudko/scheduler-go
...
Migrate scheduler.go, factory.go to structured logging
2021-01-05 09:02:11 -08:00
pacoxu
441985afb6
set LegacyNodeRoleBehavior to false and mv ServiceNodeExclusion to GA
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
2021-01-05 22:34:18 +08:00
Kubernetes Prow Robot
c6789a175b
Merge pull request #97306 from gavinfish/remove-fg-1.21
...
Cleanup several GA feature flags which should be removed in 1.21
2021-01-04 21:11:57 -08:00
Kubernetes Prow Robot
77abaabf3a
Merge pull request #97677 from chengzhycn/proxy-error-log
...
fix incorrect dev name in log when finding link by name returns error
2021-01-04 19:33:57 -08:00
Kubernetes Prow Robot
3e36f78c42
Merge pull request #97521 from lixiaobing1/nodeselector
...
add node selector info in ErrReasonPod
2021-01-04 16:13:56 -08:00
Kubernetes Prow Robot
564ffbd400
Merge pull request #96539 from ialidzhikov/cleanup/attach-volume-limit
...
Remove AttachVolumeLimit feature gate
2021-01-04 13:11:57 -08:00
Kubernetes Prow Robot
453994e9b4
Merge pull request #97496 from chymy/k8s-hyperlink
...
Add a hyperlink to issue 95156
2021-01-04 11:38:09 -08:00
Kubernetes Prow Robot
ffe74b2cf1
Merge pull request #97336 from maaoBit/remove_cleanup-ipvs
...
remove --cleanup-ipvs flag of kube-proxy
2021-01-04 08:41:57 -08:00
chengzhycn
5bd2b6877d
fix incorrect dev name in log when finding link by name returns error
...
Signed-off-by: chengzhycn <chengzhycn@gmail.com >
2021-01-04 16:34:02 +08:00
Kubernetes Prow Robot
43fcd50d50
Merge pull request #97570 from thinpark/master
...
[pkg/cluster/ports/ports]: fix minor syntax
2021-01-01 19:47:53 -08:00
Kubernetes Prow Robot
75115236e7
Merge pull request #97006 from lingsamuel/fix-cadvisor-machine-metrics
...
Fix missing cadvisor machine metrics
2020-12-31 21:15:51 -08:00
maao
d001b9b72a
remove --cleanup-ipvs flag of kube-proxy
...
Signed-off-by: maao <maao420691301@gmail.com >
2020-12-31 11:29:38 +08:00
Kubernetes Prow Robot
68b908d785
Merge pull request #97576 from aarnaud/fix/stat-windows-socket
...
use Lstat instead of Stat for unix socket on windows
2020-12-30 16:45:49 -08:00
Aldo Culquicondor
4c85317d8d
Use autogenerated Job conversion functions
...
Change-Id: I46691310faa1973b153e344c95989bbea0ac8d6c
2020-12-30 13:19:32 -05:00
Kubernetes Prow Robot
0eea524c28
Merge pull request #96606 from chymy/klog-fix
...
fix log format optimization
2020-12-30 09:29:49 -08:00
drfish
2fcea1f737
Fix typos in scheduler interpodaffinity package
2020-12-30 14:20:07 +08:00
he.qingguo
3e4e50a3b9
Fix typo in pkg/volume/rbd/rbd_test.go
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn >
2020-12-30 13:58:41 +08:00
chymy
0f729ba517
fix log format
...
Signed-off-by: chymy <chang.min1@zte.com.cn >
2020-12-30 09:28:31 +08:00
Anthony ARNAUD
6013aaa370
use Lstat instead of Stat for unix socket on windows
2020-12-29 15:14:29 -05:00
drfish
4a839fa6d3
Fix typos in garbagecollector_test.go
2020-12-29 23:20:18 +08:00
Zhou Peng
493d5e8632
[pkg/cluster/ports/ports]: fix minor syntax
...
Signed-off-by: Zhou Peng <p@ctriple.cn >
2020-12-29 20:42:54 +08:00
lixiaobing1
0e274441ba
add node selector info in ErrReasonPod
2020-12-26 14:15:08 +08:00
Alex Dudko
b11e4f2484
Migrate scheduler.go, factory.go to structured logging
2020-12-24 18:50:30 -08:00
chymy
6ec7b823c1
Add a hyperlink to issue 95156
...
Signed-off-by: chymy <chang.min1@zte.com.cn >
2020-12-24 15:41:05 +08:00
Rajalakshmi-Girish
98948ad809
fixes the unit tests to be more tolerant with error messages
2020-12-24 04:47:46 +00:00
Gurleen Grewal
2414bce4c3
Fix golint issues in pkg/kubelet/types
2020-12-23 19:21:31 -08:00