Difference between revisions of "Kubectl logs --previous"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
kubectl logs --previous [[--tail]] 10 [[your-pod]] | 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]] | ||
== See also == | == See also == |
Revision as of 18:49, 18 July 2022
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
See also
kubectl logs, ktail, stern, --previous, -c
- K8s troubleshooting:
kubectl logs, kubectl top, kubectl get events -A, kubectl describe pod
, Liveness, Readiness,Kubernetes events
, Pulling image, OOMKilled, ProbeWarning, Reason,FailedScheduling
,errImagePull, ImagePullBackOff
, Kubelet conditions:MemoryPressure, DiskPressure, KubeletHasSufficientPID, KubeletReady, kubectl [ debug | attach | exec ] kubectl cluster-info dump, SimKube, KWOK
- Kubectl information commands:
cluster-info
|view
|pods
|nodes
|services
|version
|describe | logs
Advertising: