Difference between revisions of "Kubectl logs --previous"
Jump to navigation
Jump to search
(Removed redirect to Kubectl logs) Tag: Removed redirect |
|||
Line 2: | Line 2: | ||
+ | |||
+ | kubectl logs --previous [[--tail]] 10 [[your-pod]] | ||
== See also == | == See also == |
Revision as of 18:48, 18 July 2022
kubectl logs --previous --tail 10 your-pod
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: