- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for containerRestarts (0.12 sec)
-
pkg/test/kube/dump.go
if err := os.WriteFile(outPath, out, os.ModePerm); err != nil { scopes.Framework.Infof("Error writing out pod events to file: %v", err) } } } // containerRestarts checks how many times container has ever restarted func containerRestarts(pod corev1.Pod, container string) int { for _, cs := range pod.Status.ContainerStatuses { if cs.Name == container { return int(cs.RestartCount) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0)