wongnai / kube-slack

Kubernetes Slack Monitoring
MIT License
323 stars 59 forks source link

IGNORE_PODS #62

Open d-kononov opened 4 years ago

d-kononov commented 4 years ago

Motivation

Due to work of cluster autoscaler, I get a lot of errors like:

Pod not ready
  kube-system/kube-proxy-gke-core-private-test-env-f2a4354b-23mh: Pod not ready
  Pod not ready

Pod not ready
  monitoring/prometheus-prometheus-node-exporter-2pf54: Pod not ready
  Pod not ready

So with using ignore_pods env such alerts will be ignored.

Sample value: kube-proxy-gke-corem,prometheus-prometheus-node-exporter

Workaround for: https://github.com/wongnai/kube-slack/issues/33

Possible will fix: https://github.com/wongnai/kube-slack/issues/29