Haowei Cai
4af91987a9
generated
2020-10-22 12:00:51 -07:00
Haowei Cai
c9bbd8532f
generalize lease controller
2020-10-22 11:58:59 -07:00
auxten
a9c1acc044
Fix staticchecks ST1005,S1002,S1008,S1039 in pkg/kubelet
2020-09-07 10:53:43 +08:00
Kubernetes Prow Robot
9b46d76d5e
Merge pull request #93180 from FreeZhang61/unittest/add_GetAddressAndDialer_unit_test
...
add unit test for GetAddressAndDialer
2020-08-28 06:36:04 -07:00
Kubernetes Prow Robot
ecfcd5fe59
Merge pull request #92760 from farah/farah/unit-test
...
Add unit test coverage for boottime_util_linux.go
2020-08-27 19:06:43 -07:00
Kubernetes Prow Robot
2e59a17dc1
Merge pull request #92288 from zhijianli88/cleanup-tempfiles
...
Cleanup tempfiles
2020-08-27 17:56:54 -07:00
ESWZY
9ce4dfe6d2
Add test for pkg/kubelet/util/util_windows_test.go#GetAddressAndDialer
2020-08-13 01:17:00 +08:00
zhangsheng02
dadc2ad385
add more testing cases
...
Signed-off-by: zhangsheng02 <sheng.zhang@daocloud.io>
2020-07-24 09:32:34 +08:00
zhangsheng02
14d2440b87
add GetAddressAndDialer unit test
...
Signed-off-by: zhangsheng02 <sheng.zhang@daocloud.io>
2020-07-20 18:16:58 +08:00
Ali Farah
373e0f09bd
Add unittest coverage for boottime_util_linux.go
2020-07-11 04:11:01 +10:00
Li Zhijian
02eaa4f354
cleanup tempfiles in unit test
...
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-06-23 11:47:18 +08:00
Kubernetes Prow Robot
cd5cdd6efa
Merge pull request #92120 from farah/farah/fix-typo
...
Fix typo in util_linux.go
2020-06-19 11:37:03 -07:00
Ali Farah
81b91563e4
Fix typo in util_linux.go
2020-06-17 02:04:15 +10:00
Javier Diaz-Montes
3538936587
Adding Bazel deps
2020-06-15 08:58:02 -04:00
Javier Diaz-Montes
9743cda4a7
Adding Kubelet changes to enable SetHostnameAsFQDN feature
...
These changes allow to set FQDN as hostname of pods for pods
that set the new PodSpec field setHostnameAsFQDN to true. The PodSpec
new field was added in related PR.
This is PART2 (last) of the changes to enable KEP #1797 and addresses #91036
2020-06-14 21:26:27 -04:00
Davanum Srinivas
0608e8be25
update bazel BUILD files
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-20 10:57:47 -04:00
Davanum Srinivas
5692926914
Move packages for slightly better UX for consumers
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-20 10:57:46 -04:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
Uzuku
302cda742a
Handle nil pod in pod format
2020-03-20 15:30:44 +08:00
Kubernetes Prow Robot
52fb02fdbe
Merge pull request #87718 from wojtek-t/kubelet_not_watching_immutable_secret_configmaps
...
WatchBasedManager stops watching immutable objects
2020-02-11 23:14:33 -08:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
wojtekt
b11b7d354d
WatchBasedManager stops watching immutable objects
2020-01-31 20:53:21 +01:00
danielqsj
19fe9f8d94
replace grpc.WithDialer which is deprecated
2019-12-26 17:46:59 +08:00
Jordan Liggitt
297570e06a
hack/update-vendor.sh
2019-11-06 17:42:34 -05:00
yuxiaobo
81e9f21f83
Correct spelling mistakes
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-11-06 20:25:19 +08:00
Davanum Srinivas
5706a13bd6
Exec probes should not be unbounded
...
In 1f270ef4e2
, we added 10KB as the read
limit for http probes. we should do the same for exec probes as well.
Change-Id: If154c5c4e669829ab94839c56260a894a6714f0f
2019-09-11 10:15:35 -04:00
Tim Allclair
20fc22f461
Add LimitWriter util
2019-09-11 09:52:28 -04:00
Kubernetes Prow Robot
08b67378d3
Merge pull request #81397 from ddebroy/win-socket
...
Support Kubelet PluginWatcher in Windows
2019-08-28 01:37:12 -07:00
Deep Debroy
1321c9115b
Support PluginWatcher in Windows
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-08-27 16:24:38 -07:00
Tim Allclair
8a495cb5e4
Clean up error messages (ST1005)
2019-08-21 10:40:21 -07:00
Tim Allclair
6510d26b6a
Fix misc static check issues
2019-08-21 10:40:21 -07:00
caiweidong
92851d213a
Use RWMutex in watchBasedManager
2019-08-13 13:09:21 +08:00
Kubernetes Prow Robot
46e58df837
Merge pull request #79578 from cezarsa/stable-node-images
...
kubelet: ensure stable order for images in node status
2019-08-10 08:59:12 -07:00
RainbowMango
0e0e1f7dab
1. Fix lint errors for the whole directory staging/src/k8s.io/client-go/tools/cache;
...
2. Remove staging/src/k8s.io/client-go/tools/cache from .golint_failures;
3. Fix some typo from comments.
2019-07-27 15:49:03 +08:00
Kubernetes Prow Robot
74f371ce48
Merge pull request #75260 from jsafrane/fix-secret-timeout-msg
...
Fix message of failed sync
2019-07-16 17:36:33 -07:00
Cezar Sa Espinola
d96c2f63e9
kubelet: ensure stable order for images in node status
...
By using the image ID as part of the sort function we ensure a stable
order even for images with the same size.
2019-07-01 11:23:24 -03:00
wojtekt
cba13eb9ad
Autogenerate code
2019-06-29 15:26:09 +02:00
wojtekt
fd819f8fdc
Move APIObjectVersioner
2019-06-28 21:16:49 +02:00
David Ashpole
80ed28b15b
disable kubelet local endpoints on windows
2019-06-04 14:07:10 -07:00
Kubernetes Prow Robot
fc005789c1
Merge pull request #77274 from RenaudWasTaken/kubeletpodresources-beta
...
Graduate 3rd party device monitoring plugins to beta!
2019-05-31 10:58:26 -07:00
Tara Gu
5e18554442
Implement plugin manager - a controller that manages plugin registration/unregistration
2019-05-30 19:00:59 -04:00
Renaud Gaubert
a03d2d4d4e
Fix improper cleanup when creating a unix socket
2019-05-30 13:21:37 -07:00
Mike Danese
531a50c776
simplify pluginwatcher closing
2019-05-14 18:55:13 -07:00
Kubernetes Prow Robot
032b4d39c6
Merge pull request #77304 from cwdsuzhou/fix_leak_when_stop_error
...
Bugfix: fix chan leak when stop error
2019-05-14 18:24:55 -07:00
caiweidong
a01f0b4e5e
Bugfix: fix channel leak when stop error
2019-05-05 23:06:13 +08:00
Jan Safranek
96c41f8a1e
Fix message of failed sync
...
From:
MountVolume.SetUp failed for volume "secret-prometheus-k8s-proxy" :
couldn't propagate object cache: timed out waiting for the condition
To:
MountVolume.SetUp failed for volume "secret-prometheus-k8s-proxy" : failed
to sync secret cache: timed out waiting for the condition
2019-04-30 13:05:07 +02:00
Kubernetes Prow Robot
16085784bc
Merge pull request #75110 from bertinatto/fix_race_watcher
...
Send events before adding watchers in traversePluginDir
2019-04-29 17:19:38 -07:00
Fabio Bertinatto
f56455753b
Remove unnecessary in-line function
2019-04-23 22:24:33 +02:00
Fabio Bertinatto
817c9ca953
Process plugins found before the ones watched
...
Currently, the method `pluginwatcher.traversePluginDir` descends into
a directory adding filesystem watchers and creating synthetic `create`
events when it finds sockets files. However, a race condition might
happen when a recently-added watcher observes a `delete` event in a
socket file before `pluginwatcher.traversePlugindir` itself notices
this file.
This patch changes this behavior by registering watchers on
directories, enqueueing and processing `create` events from sockets
found, and only then processing the events from the registered watchers.
2019-04-23 22:24:33 +02:00