Tracking container restarts and termination events in Kubernetes