Skip to content
StackDecode
AdvancedLesson 28 of 35

Observability

Metrics, logs and traces for a running cluster.

  • metrics-server powers kubectl top and the HPA.
  • Prometheus + Grafana: metrics and dashboards (the kube-prometheus-stack chart installs both).
  • Logs: containers write to stdout; ship with Fluent Bit, Promtail or the cloud agent to Loki/Elasticsearch.
  • Tracing: OpenTelemetry to Jaeger or Tempo.
bash
kubectl top nodes
kubectl top pods -A --sort-by=memory

Alert on symptoms users feel (error rate, latency, saturation), not just on CPU.