Kubernetes Prow Robot
8bf7805e05
Merge pull request #115397 from sourcelliu/boottime
...
Add test for pkg/kubelet/util
2023-03-14 09:39:18 -07:00
Kubernetes Prow Robot
af97bb9ac5
Merge pull request #115053 from qingwave/remove-unuse-code
...
Remove unuse code in pkg/kubelet/util
2023-03-14 09:39:10 -07:00
Kubernetes Prow Robot
898143a96a
Merge pull request #114904 from TommyStarK/kubelet/pod_startup_latency_tracker
...
kubelet: fix recording when pulling image did finish
2023-03-14 09:39:02 -07:00
Kubernetes Prow Robot
15f5a5c6ef
Merge pull request #110949 from claudiubelu/adds-unittests-4
...
tests: Ports kubelet unit tests to Windows
2023-03-09 21:32:30 -08:00
Kubernetes Prow Robot
54ec651ab5
Merge pull request #110741 from zhoumingcheng/master-unit-v1
...
add unit test coverage for pkg/kubelet/util/queue
2023-03-09 11:15:51 -08:00
TommyStarK
951decd1e6
kubelet: fix recording when pulling image did finish
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2023-03-02 20:21:35 +01:00
Claudiu Belu
5cce4bccad
tests: Port kubelet tests to Windows
...
Ports kubelet/util unit tests to Windows.
2023-02-09 13:50:51 +00:00
mantuliu
9518ca20ac
Add test for pkg/kubelet/util
...
Signed-off-by: mantuliu <240951888@qq.com>
2023-01-31 23:09:08 +08:00
mantuliu
ef0e9b5cf5
Add test for pkg/kubelet/util
...
Signed-off-by: mantuliu <240951888@qq.com>
2023-01-30 21:19:48 +08:00
Kubernetes Prow Robot
232c0de57a
Merge pull request #115101 from HirazawaUi/delte-pkg-kubelet-unused-functions
...
delete unused functions in pkg/kubelet directory
2023-01-29 17:21:08 -08:00
Patrick Ohly
bc6c7fa912
logging: fix names of keys
...
The stricter checking with the upcoming logcheck v0.4.1 pointed out these names
which don't comply with our recommendations in
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/migration-to-structured-logging.md#name-arguments .
2023-01-23 14:24:29 +01:00
HirazawaUi
a8173eded3
delete unused functions in pkg/kubelet directory
2023-01-16 20:00:49 +08:00
qingwave
a9d92bcb25
remove unuse code in pkg/kubelet/util
...
Signed-off-by: qingwave <isguory@gmail.com>
2023-01-13 08:27:42 +00:00
Kubernetes Prow Robot
1bf4af4584
Merge pull request #111930 from azylinski/new-histogram-pod_start_sli_duration_seconds
...
New histogram: Pod start SLI duration
2022-11-04 07:28:14 -07:00
Kubernetes Prow Robot
e6060f2780
Merge pull request #111220 from giuseppe/drop-superfluous-function
...
kubelet: remove superfluous function
2022-11-01 09:34:45 -07:00
Artur Żyliński
8a5fbce96e
Fix cond: Check if pod started
2022-10-26 16:05:19 +02:00
Artur Żyliński
b0fac15cd6
Make the interface local to each package
2022-10-26 11:28:18 +02:00
Artur Żyliński
9f31669a53
New histogram: Pod start SLI duration
2022-10-26 11:28:17 +02:00
Kubernetes Prow Robot
127f33f63d
Merge pull request #111221 from inosato/remove-ioutil-from-kubelet
...
Remove ioutil in kubelet/kubeadm and its tests
2022-09-17 21:56:28 -07:00
cndoit18
ec43037d0f
style: remove redundant judgment
...
Signed-off-by: cndoit18 <cndoit18@outlook.com>
2022-08-25 12:07:36 +08:00
inosato
3b95d3b076
Remove ioutil in kubelet and its tests
...
Signed-off-by: inosato <si17_21@yahoo.co.jp>
2022-07-30 12:35:26 +09:00
Davanum Srinivas
a9593d634c
Generate and format files
...
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
Giuseppe Scrivano
705242e2af
kubelet: remove superfluous function
...
the ensureDirectory seems to be just a wrapper around MkdirAll.
Since MkdirAll doesn't treat an existing directory as an error, there is no need of the extra stat() syscall that was previously performed.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-07-18 17:08:27 +02:00
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
ca8f3dff9a
add unit test coverage for pkg/kubelet/util/queue
...
Signed-off-by: zhoumingcheng <zhoumingcheng@beyondcent.com>
2022-06-23 17:57:17 +08: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