Answers: <p>For health monitoring, I would recommend the <a href="https://github.com/coreos/prometheus-operator" rel="nofollow noreferrer">prometheus-operator</a>. If you are looking for application logs, you should consider a logging stack such as elasticsearch-fluentd-kibana. I personally would recommend the <a href="https://github.com/vmware/kube-fluentd-operator" rel="nofollow noreferrer">kube-fluentd-operator</a>. Additionally, if you would like to see the kubernetes events I find <a href="https://github.com/heptiolabs/eventrouter" rel="nofollow noreferrer">eventrouter</a> quite useful which can also be wired into your logging infrastructure.</p>
  
Answers: CC BY-SA 4.0
Answers: 2020-06-18T13:02:40.883Z
Answers: 2020-06-18T13:02:40.883Z
Answers: Mikhail Advani
Body: <p>K8s has self-healing builtin features, if a pod crash then it will be replaced with the new pod but its log is gone. So what is the best way to monitor K8s pods in case of outage?</p>
  
Tags: <kubernetes><monitoring><logging>
Title: Monitoring K8s Pods in case of outage
UserDisplayName: Chau Giang
ThreadText: # Monitoring K8s Pods in case of outage
  
  (Asked by: username_0 on 2020-06-18)
  
  K8s has self-healing builtin features, if a pod crash then it will be replaced with the new pod but its log is gone. So what is the best way to monitor K8s pods in case of outage?
  
  **Tags:** kubernetes, monitoring, logging
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-06-18. Score: 1
  
  For health monitoring, I would recommend the [prometheus-operator](https://github.com/coreos/prometheus-operator). If you are looking for application logs, you should consider a logging stack such as elasticsearch-fluentd-kibana. I personally would recommend the [kube-fluentd-operator](https://github.com/vmware/kube-fluentd-operator). Additionally, if you would like to see the kubernetes events I find [eventrouter](https://github.com/heptiolabs/eventrouter) quite useful which can also be wired into your logging infrastructure.
  
  
  ---
  
  