slo-monitor: the pulling image time of the pod is incorrectly recorded as 1970-01-01 00:00:00 +0000 UTC #2525
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
What happened:
The slo-monitor collects pod lifecycle time by watching events, but it incorrectly records the time of starting pulling image.
I0122 02:27:28.157857 1 pod_monitor.go:324] Observed Pod default/netshoot creation: created 2024-01-22 02:27:21 +0000 UTC, pulling: 1970-01-01 00:00:00 +0000 UTC, pulled: 2024-01-22 02:27:26 +0000 UTC, running: 2024-01-22 02:27:28.157849816 +0000 UTC m=+1186.391220756
What you expected to happen:
The time of pulling image is recorded correctly.
How to reproduce it (as minimally and precisely as possible):
Deploy the slo-monitor in k8s cluster with --v=5, create a common pod.
And then observe the log like above.
The text was updated successfully, but these errors were encountered: