← Kubernetes learning path
Kubernetes · Module 8 of 10

Health checks and observability

Keep apps healthy and visible.

📖 Key ideas

  1. Liveness probes restart stuck containers.
  2. Readiness probes control when a pod receives traffic.
  3. Startup probes protect slow-starting apps.
  4. kubectl logs and describe help debug.
  5. Monitoring: Prometheus + Grafana; logging: Loki/ELK.
💡 Real-life example: Probes are a nurse checking a patient: is he alive (liveness), is he ready to work (readiness)?
Liveness probeRestarts unhealthy containers
Readiness probeControls traffic to pods
PrometheusMetrics monitoring system
kubectl describeShows resource details and events