Claudiu Belu
f567b85cc4
kubelet: Fixes plugin Watcher for Windows
...
Currently, the plugin Watcher checks if a file is a socket or not by
running mode&os.ModeSocket != 0, which can't be True on Windows.
util.IsUnixDomainSocket should be used instead.
2022-07-26 18:45:10 +03:00
qingwave
f405c797ff
migrate pkg/kubelet/pluginmanager to structured logging
2021-03-10 15:44:16 +08:00
Jing Xu
d669cb1b17
Fix issue in checking domain socket for plugin watcher
...
Due to recent os.Stat() issue for Windows 20H2, added the logic to use
os.Lstat() if os.Stat() fails for Windows
Change-Id: Ic9fc07ecc6e9c2984e854ac77121ff61c8e0d041
2021-03-03 12:37:14 -08:00
Jing Xu
70e01c5e47
Use Lstat in plugin watcher to avoid Windows problem
...
User Lstat in plugin watcher due to Windows issue
Change-Id: I4f9b808829f1a56dc622e343c291d3ffc316f416
2021-02-25 08:45:27 -08:00
knight42
de46e81e74
fix(pluginwatcher): watch socket dir before traversing it
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-08-14 12:07:04 +08: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
mattjmcnaughton
ccf488fe11
Delete TODO around implementing rate limiting to protect against DOS
...
From discussions in https://github.com/kubernetes/kubernetes/pull/83784 ,
it appears there actually isn't a ton of risk around a DOS. Delete the
TODO.
2020-02-18 08:24:25 -05:00
David Zhu
802fe12803
Remove plugin watching of deprecated directory {kubelet_root_dir}/plugins and support for CSI V0 in accordance with deprecation announcement in https://v1-13.docs.kubernetes.io/docs/setup/release/notes/
2019-11-11 11:42:58 -08:00
Deep Debroy
1321c9115b
Support PluginWatcher in Windows
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-08-27 16:24:38 -07:00
caiweidong
017aad3b60
Remove returned value of func handleCreateEvent
2019-06-14 15:27:59 +08:00
Tara Gu
5e18554442
Implement plugin manager - a controller that manages plugin registration/unregistration
2019-05-30 19:00:59 -04:00