21 Commits

Author SHA1 Message Date
Michael Grosser
8578b779e2 health-checker cri: fix invalid command 2023-01-31 21:53:59 -08:00
Izaak Alpert (karlhungus)
b6d8069610 allow setting crictl timeout 2022-09-15 14:31:41 -04:00
Izaak Alpert (karlhungus)
6de3fabc9f output stdout and stderr from custom commands 2022-09-15 14:31:24 -04:00
Michael Grosser
d764b1ab87 simplify cri health check 2022-03-28 17:05:53 -07:00
michelletandya
3344efd552 ensure time is in Universal Time Zone to properly calculate uptime 2021-09-02 17:41:54 +00:00
Kubernetes Prow Robot
3c3609b5fa Merge pull request #612 from mcshooter/updateUptimeCMd
Update powershell command for uptime to help efficiency
2021-08-20 18:42:05 -07:00
michelletandya
dd0d0d71ab Update powershell command for uptime to help efficiency 2021-08-20 01:16:45 +00:00
michelletandya
26f070bfd4 Prevent uptimeFunc from being called everytime CheckHealth is being called 2021-08-17 19:30:28 +00:00
Oleg Atamanenko
c8629cea5d Check kube-proxy health on linux 2021-06-29 21:36:27 -07:00
Kubernetes Prow Robot
e349323507 Merge pull request #539 from smileusd/health_check
improvement health-checker
2021-06-25 09:48:45 -07:00
michelletandya
a14577dfa4 update CriCtl path for windows 2021-06-15 01:03:04 +00:00
tashen
a3b928467e add loopbacktime to reduce time of journalctl call 2021-05-19 13:55:55 +08:00
Lantao Liu
8e94c930ee Fix the uptime timestamp parsing. 2021-05-14 16:43:09 -07:00
michelletandya
01cd8dd08c Add healthChecker functionality for kube-proxy service 2021-05-05 17:27:58 +00:00
michelletandya
c4e5400ed6 separate linux/windows health checker files. 2021-04-26 21:45:05 +00:00
Archit Bansal
fb8bbe91d7 Fix for flaky unit test in health checker
The unit test was dependent on the order of map iteration. Changed to
using sorted keys while iterating.
2021-02-18 17:52:49 -08:00
Archit Bansal
100f2bf8e6 Make log pattern check configurable in health checker 2021-02-17 17:46:18 -08:00
Archit Bansal
2513756583 Add kubelet apiserver connection fail check in health checker 2020-11-09 12:47:16 -08:00
Archit Bansal
3a9370e01b Log custom plugin stderr only if the status is not ok.
Otherwise with plugins that run frequently and report ok status, the
logs are filled with unnecessary noise and significantly increases log
size.
2020-08-27 10:17:05 -07:00
Archit Bansal
f56d0a929d Use InactiveExitTimestamp instead of ActiveEnterTimestamp for cooldown
period in health check monitor.
2020-07-16 18:53:47 -07:00
Archit Bansal
44dc4aa6c1 Add health-check-monitor 2020-05-27 14:08:42 -07:00