We pipe the k8s events into sumologic using a http collector and then use sumologic alerting.
punit agrawal dev-ops lead new product development ebay From: <kubernetes-users@googlegroups.com> on behalf of Chaitanya Potu <chaitanyapot...@gmail.com> Reply-To: "kubernetes-users@googlegroups.com" <kubernetes-users@googlegroups.com> Date: Thursday, September 6, 2018 at 12:43 PM To: Kubernetes user discussion and Q&A <kubernetes-users@googlegroups.com> Subject: [kubernetes-users] Re: How to monitor/alert on container/pod death or restart Use Prometheus and alert manager for setting up these kind of monitoring and alerts. On Wednesday, August 8, 2018 at 2:59:01 PM UTC-5, David Rosenstrauch wrote: As we're getting ready to go to production with our k8s-based system, we're trying to pin down exactly how we're going to do all the needed monitoring/alerting for it. We can easily collect many of the metrics we need (using kube-state-metrics to feed into prometheus, and/or Datadog) and alert off of those. However, there's other important k8s-related info about our system that we need to be able to access, monitor, and alert on, most notably things like: * If a container crashes and is restarted by k8s * If k8s kills a container and restarts it (e.g., due to exceeding cpu or memory limits, or due to repeated failure of liveness check) * If k8s kills a container but cannot restart it * If an entire pod crashes and is restarted by k8s etc. How would would go about gaining access to those k8s-related events in an automated fashion, and setting up monitoring/alerting off of those? Thanks, DR -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com<mailto:kubernetes-users+unsubscr...@googlegroups.com>. To post to this group, send email to kubernetes-users@googlegroups.com<mailto:kubernetes-users@googlegroups.com>. Visit this group at https://groups.google.com/group/kubernetes-users<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fgroup%2Fkubernetes-users&data=02%7C01%7Cpunagrawal%40ebay.com%7Cd49c107f00a3418fbdf408d61430f5b1%7C46326bff992841a0baca17c16c94ea99%7C0%7C0%7C636718597842673500&sdata=R0Bed1F68ZGuyakqDCE81p4kDxnlezLdKYoCV3nQLhw%3D&reserved=0>. For more options, visit https://groups.google.com/d/optout<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Cpunagrawal%40ebay.com%7Cd49c107f00a3418fbdf408d61430f5b1%7C46326bff992841a0baca17c16c94ea99%7C0%7C0%7C636718597842673500&sdata=Rl6ENwMOm8TtOI1hpspC2G%2BtFNgKtcWv7dyYZSRj3CE%3D&reserved=0>. -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.