Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 539 Bytes

troubleshoot.md

File metadata and controls

25 lines (17 loc) · 539 Bytes

Troubleshooting

Check the latest events:

kubectl get events -A  --sort-by=.lastTimestamp

Check the conditions:

go run github.com/guettli/check-conditions@latest all

Check with clusterctl:

clusterctl describe cluster -n cluster my-cluster

Check the logs. List all logs from all deployments. Show the logs of the last ten minutes:

kubectl get deployment -A --no-headers | while read -r ns d _; do echo; echo "====== $ns $d"; kubectl logs --since=10m -n $ns deployment/$d; done