Kubernetes Prow Robot
4a3e1b90c7
Merge pull request #100175 from changshuchao/testcase_utils
...
test case for pkg/kubelet/cri/remote/utils.go
2021-04-08 20:28:22 -07:00
changshuchao
fa6654ff19
test case for pkg/kubelet/cri/remote/utils_test.go
2021-03-12 23:47:24 +08:00
afrouz
8f2e927b4a
Migrate cmd/kubelet, image, cadvisor and cri to structured logging
2021-03-09 23:12:10 +03:30
Kubernetes Prow Robot
da2f6385e9
Merge pull request #98589 from chenyw1990/structuredLogsOfRemote
...
pkg/kubelet/cri/remote: migrate to structured logs
2021-03-02 15:49:19 -08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
chenyw1990
8d86470417
pkg/kubelet/cri/remote: migrate to structured logs
2021-02-22 11:44:58 +08:00
Sergey Kanzhelev
4c9e96c238
Revert "Merge pull request #92817 from kmala/kubelet"
...
This reverts commit 88512be213 , reversing
changes made to c3b888f647 .
2021-01-12 22:27:22 +00:00
jornshen
c38637a08b
[flaky test] fix race in TestVersion in pkg/kubelet/cri/remote
2020-12-03 14:26:11 +08:00
Andrew Sy Kim
4bb30c3b0e
kubelet: add feature gate check for exec probe timeouts
...
This change also involves adding a custom error type for probe timeouts
so that the kubelet exec prober can distinguish between failed probes
that have exited or probes that have timed out.
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-11-09 13:05:09 -05:00
Andrew Sy Kim
2887e707f8
kubelet: respect probe exec timeout from CRI by returning utilexec.CodeExitError
...
This fixes a bug where the exec timeouts are not respected with
containerd
Exec prober expects a utilexec.CodeExitError on failed probes, otherwise
the prober returns 'Unknown' and a non-nil error which the kubelet throws
away. As a temporary fix, ExecSync as part of the CRI remote runtime
should return utilexec.CodeExitError when the grpc error code is
DeadlineContextExceeded. This ensure the exec prober registers exec
timeouts as real probe failures to the kubelet. We should also add a
TimededError type to k8s.io/utils/exec since it doesn't really make
sense to use CodeExitError for exec time outs.
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-11-09 13:03:28 -05:00
Yixiang2019
62710bc034
cleanup: fix some error log capitalization
...
Signed-off-by: Yixiang2019 <wang.yixiang@zte.com.cn >
2020-10-28 16:44:54 +08:00
Kubernetes Prow Robot
88512be213
Merge pull request #92817 from kmala/kubelet
...
Check for sandboxes before deleting the pod from apiserver
2020-09-10 07:27:45 -07:00
Sergey Kanzhelev
df2f67daf8
fix linter issues for pkg/kubelet/cri/remote and staging/src/k8s.io/cri-api/pkg/apis/testing
2020-08-28 04:15:39 +00:00
Keerthan Reddy,Mala
d4325f42fb
Check for sandboxes before deleting the pod from apiserver
2020-07-22 11:54:56 -07:00
Ali Farah
81b91563e4
Fix typo in util_linux.go
2020-06-17 02:04:15 +10:00
Jordan Liggitt
591e0043c8
Revert "Merge pull request 89667 from kmala/kubelet"
...
This reverts commit fa785a5706 , reversing
changes made to cf13f8d994 .
2020-05-21 13:30:14 -04:00
Davanum Srinivas
c7e79d2048
fix import restrictions and BUILD
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-20 10:57:47 -04:00
Davanum Srinivas
e049e594cd
Copy util directory for use in cri/remote package
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-20 10:57:47 -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