Manage OpenShift Container Platform
What this topic covers
Use the OpenShift console and CLI to inspect cluster resources, events, alerts, and logs. Find images and troubleshoot container or cluster problems using resource details and product documentation.
Which flag shows logs from a container that already restarted?
Use oc logs --previous to read the logs of the prior terminated container in the pod. Such as a container that crashed and restarted. Check before you change the Deployment, since the current container may have little output yet.