Control Plane¶
Use this checklist when kubectl, controllers, or admission webhooks feel unhealthy even though workloads and nodes do not immediately explain the symptom.
Main Content¶
flowchart TD
A[Control-plane symptom] --> B[Check API server latency and errors]
B --> C[Check throttling and 429s]
C --> D[Check audit and webhook failures]
D --> E[Check autoscaler or scheduler side effects] - Confirm that the incident is cluster-management-path related, not just one failing workload.
- Query API server latency and error rates first.
- Check for request throttling or webhook failures before blaming node capacity.
- Use audit evidence if the incident involves denied changes or suspicious write activity.
kubectl get --raw=/readyz?verbose
kubectl get events --all-namespaces --sort-by=.lastTimestamp
kubectl auth can-i create deployments --namespace <namespace>
az monitor metrics list --resource "$CLUSTER_ID" --metric apiserver_cpu_usage_percentage --interval PT5M
| Command | Purpose |
|---|---|
kubectl get --raw | Query the API server readiness endpoint. |
kubectl get events | List Kubernetes events for troubleshooting. |
kubectl auth can-i | Check whether the caller can perform an action. |
az monitor metrics list | List API server CPU metrics for the cluster. |
--resource | Resource ID of the AKS cluster. |
--metric | Metric to retrieve. |
--interval | Aggregation interval for the metric. |