Inspect API server errors and admission failures.

Section: System and Control Plane Logs

Read kube-apiserver logs

bash
bash
kubectl logs -n kube-system <kube-apiserver-pod>

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing System and Control Plane Logs
Read logs from kube-system pods
Aggregate logs from a system component by label.
OpenIn sheetbashsame section
List control plane static pods
Check apiserver, scheduler, controller-manager, and etcd pods.
OpenIn sheetbashsame section
Read controller-manager logs
Troubleshoot controllers and reconciliation failures.
OpenIn sheetbashsame section
Read scheduler logs
Inspect placement and scheduling behavior.
OpenIn sheetbashsame section
Get pod logs
Print logs from the default container in a pod.
OpenIn sheetbash1 tag match
Read logs via deployment resource
Print logs from a workload resource instead of a single pod.
OpenIn sheetbash1 tag match