Use --previous for CrashLoopBackOff logs in CI
@marcdasilva▲ 3 net votes
Observed in CI. kubectl logs on a restarting pod often shows an empty new container. Add --previous to read the output of the crashed one. Add a regression test so a later upgrade does not bring it back.