View Logs with Broken Pods in Quaternets

Any idea to view the log files of a broken container in quaternets? My block lists it as "CrashLoopBackOff" after running replicationController. I look through the available documents and cannot find them.

+6
source share
2 answers

kubectl logs <podname> --previous

$ kubectl logs -h
-p, --previous [= false]: if true, print the logs for the previous container instance in the container, if one exists.

+11
source

There was an error in the kubernets that prevented receiving logs for containers in the CrashLoopBackOff state. It looks like it has been fixed. Here is the problem with github with more info

+1
source

All Articles