Interview Prep/Kubernetes/Observability & Day-2 Operations

How would you troubleshoot a slow API server in a large cluster?

AdvancedProductionObservability & Day-2 Operations
Answer

Check apiserver_request_duration_seconds by verb/resource, APF queue wait times, etcd latency, and large LIST calls from misbehaving controllers (clients without watches, kubectl get -A loops, huge CRD lists). Use audit logs to find top callers, enable pagination/watch caches, fix noisy operators, defrag/compact etcd, and raise APF limits only after fixing the cause.

All Kubernetes questions

More on Observability & Day-2 Operations