Skip to main content
Version: latest

Kubernetes Debug

Spectro Cloud provisions standard, upstream Kubernetes clusters using kubeadm and cluster-api. The official Kubernetes documentation related to support and troubleshooting are great troubleshooting resources that you should also consider reviewing. The official Kubernetes debugging guide is about cluster troubleshooting and offers excellent advice on how to resolve common issues that may arise.

Log Tips‚Äč

The table below displays useful Kubernetes log types that can aid you in the debugging process. The Kubernetes Logging Architecture page is a good resource you can review to help gain a better understanding of the logging architecture.

Log TypeAccess Method
Kubeletjournalctl -u kubelet
Containerkubectl logs OR /var/log/containers and /var/log/pods
Previous Containerkubectl logs <podName> --previous