Kubernetes Prow Robot
c05d185901
Merge pull request #110683 from zhoumingcheng/master-v2
...
add unit test coverage for pkg/kubelet/util/util_unix_test.go
2022-07-07 20:35:57 -07:00
Kubernetes Prow Robot
b19d50d68e
Merge pull request #110075 from luckerby/104584-retry-dial-on-socket-windows-base
...
Retry Unix domain sockets on Windows nodes for the plugin registration mechanism
2022-06-27 19:16:16 -07:00
zhoumingcheng
b722056698
add unit test
...
Signed-off-by: zhoumingcheng <zhoumingcheng@beyondcent.com>
2022-06-21 17:03:43 +08:00
Mihai Albert
c666656259
Add retry logic for Unix Domain sockets on Windows
2022-06-10 00:59:55 +03:00
Wojciech Tyczyński
0d41d2921e
Fix leaking goroutines in kubelet integration test
2022-05-23 11:50:29 +02:00
Steve Kuznetsov
3939f3003e
storage: move the APIObjectVersioner definition to storage
...
The means by which we extract and parse the version of an API object is
not specific to etcd3. In order to allow for a generic suite of tests
against any storage.Interface imlpementation, we need this logic to live
outside of the etcd3 package, or import cycles will exist.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-11 08:19:32 -07:00
ZhangJian He
d09947a5b5
Fix typo in watch_based_manager_test
2022-03-01 10:21:17 +08:00
Jordan Liggitt
1d27942efc
Include pod UID in secret/configmap cache key
2022-01-27 22:21:52 -05:00
yuzhiquanlong
be9e1fda5e
remove format pods func, instead with klog.Kobjs
2021-10-15 18:26:02 +08:00
wojtekt
d9b08c611d
Migrate to k8s.io/utils/clock
2021-09-17 15:19:08 +02:00
wojtekt
53ce79a18a
Migrate to k8s.io/utils/clock in pkg/kubelet
2021-09-10 12:20:09 +02:00
Kubernetes Prow Robot
c262d09bb7
Merge pull request #104604 from wojtek-t/fix_secret_manager_2
...
Don't prematurely close reflectors in case of slow initialization in watch based manager
2021-08-26 06:11:23 -07:00
wojtekt
515106b795
Don't prematurely close reflectors in case of slow initialization in watch based manager
2021-08-26 11:34:24 +02:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-24 15:47:49 -04:00
Davanum Srinivas
5feff280e1
remove fakefs to drop spf13/afero dependency
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-24 09:51:34 -04:00
Kubernetes Prow Robot
b4f351329e
Merge pull request #99823 from navidshaikh/pr/slog-k-utils
...
Migrate pkg/kubelet/util to structured logging
2021-03-08 16:27:28 -08:00
Kubernetes Prow Robot
b1367af8b5
Merge pull request #99799 from QiWang19/kobj-slice
...
Refactor pods format to return ObjRef slice
2021-03-08 16:27:19 -08:00
chenyw1990
57a3b0abd6
reduce configmap and secret watch of kubelet
2021-03-08 16:55:39 +08:00
Navid Shaikh
1f22a173d9
Migrate pkg/kubelet/util to structured logging
...
Part of https://github.com/kubernetes/kubernetes/issues/98976
2021-03-07 21:17:46 +05:30
Qi Wang
8133d29586
Refactor pods format to ObjRef slice
...
Refactor format.Pods to return a slice of ObjRef for structured logging.
Ref: https://github.com/kubernetes/kubernetes/pull/99029#discussion_r586785552
Signed-off-by: Qi Wang <qiwan@redhat.com>
2021-03-06 11:26:50 -05:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Kubernetes Prow Robot
6702359c3c
Merge pull request #97270 from rikatz/kubelet-bsd-1
...
Change GetBootTime to work specificaly with FreeBSD
2021-01-28 16:59:40 -08:00
wojtekt
8ce71fbae2
Autogenerated
2020-12-30 16:00:41 +01:00
wojtekt
0f88bbe9b1
Promote Immutable Secrets/ConfigMaps feature to GA
2020-12-30 16:00:41 +01:00
Ricardo Pchevuzinske Katz
a1b66f11b5
Change GetBootTime to work specificaly with FreeBSD
...
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2020-12-22 16:52:47 -03:00
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