A county pod crashed and restarted; engineers need logs from the terminated instance, not only the new one. Which kubectl behavior addresses that need?
Select an answer to reveal the explanation.
Short Explanation
After a restart you're staring at a fresh container—add --previous to hear the last one's dying words. Otherwise you only get the newbie's empty notebook.
Full Explanation
The --previous flag instructs kubectl logs to fetch logs from the previous terminated container for that pod/container slot, which is essential after CrashLoopBackOff or restarts. Default logs target the current instance; attach and rollout undo do not provide that prior stdout/stderr stream.