wongnai / kube-slack

Kubernetes Slack Monitoring
MIT License
322 stars 58 forks source link

kube-slack can mix-up different pods if they have same label #45

Closed max-lobur closed 5 years ago

max-lobur commented 5 years ago

In my case both have label app: grafana. The 1st is in crash loop, the 2nd one is running more than a month without any move. It clearly mixed up these two when reported Container entered status *Running*

image

k8s 1.10 kube-slack v3.6.0

AshMartian commented 5 years ago

Created MR that should resolve this, issue was the running notification was matching just the pod name, which is the same in this scenario. New MR matches on namespace/pod name.

whs commented 5 years ago

Released as v3.7.1 on Docker Hub