kubectl logs --previous
Jump to navigation
Jump to search
kubectl logs --previous kubectl logs --previous --tail
kubectl logs --previous --tail 10 your-pod 2022/07/18 16:57:36 Failed to connect to RabbitMQ dial tcp 10.100.105.23:5672: connect: connection refused
Related[edit]
See also[edit]
kubectl logs, ktail, stern, --previous
- K8s troubleshooting:
kubectl logs, kubectl get events -A, kubectl describe pod
, Liveness, Readiness,Kubernetes events
, Pulling image, OOMKilled, ProbeWarning, Reason,FailedScheduling
,KubeletReady, errImagePull, ImagePullBackOff
- Kubectl information commands:
cluster-info
|view
|pods
|nodes
|services
|version
|describe | logs
Advertising: