eventrouter
eventrouter copied to clipboard
eventrouter produces duplicate events once in a while
use glogsink and see logs as below every 10 minutes or so. however, no new events produced and no change to events existed. in the log below, contents of new events and old events are same, i cannot find any update
I1220 08:50:11.664885 6 glogsink.go:42] {"verb":"UPDATED","event":{"metadata":{"name":"eventrouter-6bc87c6f9d-8glzg.1571fd5c758fb587","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/events/eventrouter-6bc87c6f9d-8glzg.1571fd5c758fb587","uid":"b8858267-0431-11e9-942f-fa163e2715bb","resourceVersion":"4615160","creationTimestamp":"2018-12-20T08:32:00Z"},"involvedObject":{"kind":"Pod","namespace":"kube-system","name":"eventrouter-6bc87c6f9d-8glzg","uid":"51b434e2-041b-11e9-94c1-fa163e65c2aa","apiVersion":"v1","resourceVersion":"4596917","fieldPath":"spec.containers{kube-eventrouter}"},"reason":"Killing","message":"Killing container with id docker://kube-eventrouter:Need to kill Pod","source":{"component":"kubelet","host":"192.168.81.105"},"firstTimestamp":"2018-12-20T08:32:00Z","lastTimestamp":"2018-12-20T08:32:00Z","count":1,"type":"Normal","eventTime":null,"reportingComponent":"","reportingInstance":""},"old_event":{"metadata":{"name":"eventrouter-6bc87c6f9d-8glzg.1571fd5c758fb587","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/events/eventrouter-6bc87c6f9d-8glzg.1571fd5c758fb587","uid":"b8858267-0431-11e9-942f-fa163e2715bb","resourceVersion":"4615160","creationTimestamp":"2018-12-20T08:32:00Z"},"involvedObject":{"kind":"Pod","namespace":"kube-system","name":"eventrouter-6bc87c6f9d-8glzg","uid":"51b434e2-041b-11e9-94c1-fa163e65c2aa","apiVersion":"v1","resourceVersion":"4596917","fieldPath":"spec.containers{kube-eventrouter}"},"reason":"Killing","message":"Killing container with id docker://kube-eventrouter:Need to kill Pod","source":{"component":"kubelet","host":"192.168.81.105"},"firstTimestamp":"2018-12-20T08:32:00Z","lastTimestamp":"2018-12-20T08:32:00Z","count":1,"type":"Normal","eventTime":null,"reportingComponent":"","reportingInstance":""}}
This would be fixed by #53 - not sure of the status on getting that in, though (I'll rebase it when I get a chance).
I'd happy to see this fixed. #53 looks like a reasonable fix.
I'm seeing duplicate events show up in our eventrouter sinks.
Searching around I found other people affected. e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1613722