How do you monitor Kubernetes clusters?
⚡
Quick Answer
Use Prometheus (often via kube-prometheus-stack) with the metrics-server, node-exporter, and kube-state-metrics for cluster/node/workload metrics, Grafana for dashboards, and a logging stack (Loki/ELK) plus alerting.
Detailed Answer
Cover the layers: control-plane and node health (node-exporter), object state (kube-state-metrics), app metrics (instrumented endpoints), logs (Fluentd/Loki), and traces (OpenTelemetry). Alert on symptoms (SLO burn) rather than every cause. The kube-prometheus-stack Helm chart bundles most of this with sane defaults.
💡
Interview Tip
Name kube-state-metrics vs node-exporter (object state vs node resources) — precise components signal real experience.
kubernetesmonitoringprometheus