How do you collect cluster events and why?
BeginnerProductionObservability & Day-2 Operations
Answer
Events vanish after about an hour, so run an event exporter (Kubernetes Event Exporter, or the CloudWatch Observability add-on) to ship them to logs/alerting. They reveal scheduling failures, image pull errors, probe failures and evictions that metrics miss.
More on Observability & Day-2 Operations
What are the three pillars of observability and the standard tools on Kubernetes?BeginnerWhat is kube-state-metrics and how does it differ from metrics-server?BeginnerWhich alerts do you set up first on a cluster?BeginnerWhere do container logs live and how do you ship them?BeginnerWhat is the difference between `kubectl logs --previous` and `kubectl logs -f`?BeginnerWhat does a good runbook for a Kubernetes alert include?Beginner