Skip to content
Captain's Academy0
← Kubernetes sea chart
Island 3 · Logging & Monitoring · Port 3.2

Application logs

Ask the Captain
Instagram
CrashLoopBackOff? Read the log from before the crash.
You'll learn to

use logs -f, -c, --previous on multi-container pods

Recap

  1. 1-f follows · --tail · --since
  2. 22 containers? -c picks one
  3. 3--previous reads the crashed one
Check yourself

Your container keeps restarting. Which flag shows the error from the last crash?

3.2

Stamp this lesson

Watched it and passed the check? Mark it in your logbook.