wongnai / kube-slack

Kubernetes Slack Monitoring
MIT License
323 stars 59 forks source link

Support for ignoring specific pods using annotations #18

Closed chribsen closed 6 years ago

chribsen commented 6 years ago

Although kube-slack is a pretty neat plugin, it currently doesn't support ignoring specific pods. An obvious way of solving this problem would simply be to ignore all pods that has the following annotation:

annotations:
    kube-slack/ignore-pod: "true"

This simple annotation will make kube-slack much more useful to use it in clusters where you'd expect certain pods to fail predictably.