How to send alerts on Kubernetes / Docker events?

6/3/2018

Can anybody let me know how to config kubernetes pods to send alert to slack channel ?

Thanks in Advance Rishabh Gupta

-- Rishabh Gupta
kubernetes

2 Answers

9/25/2019

I would suggest go with Prometheus operator, as this project is cloud-native and give good hold on managing the alerts.

  • Handles alerts with alert manager

  • We can add data source with Grafana

  • Write our own expressions for pod and microservices monitoring

  • Works on scrapping over http/s request

  • we can easily expose the Applicaton metrics

https://github.com/coreos/kube-prometheus

-- Jitendra Bhalothia
Source: StackOverflow

6/3/2018

Kubernetes dosn't provide out of the box slack integration.

There are few projects that you can use:

If you need more complex motoring you can use Prometheus and it's alert manager https://prometheus.io/docs/alerting/notification_examples/

-- Maciek Sawicki
Source: StackOverflow