resmoio / kubernetes-event-exporter

Export Kubernetes events to multiple destinations with routing and filtering
Apache License 2.0
753 stars 149 forks source link

Cannot send event error - can't rename log file: rename /dev/stdout #161

Open yantsa opened 6 months ago

yantsa commented 6 months ago

I have been following various other issues reporting that suddenly exporter stops sending events . In our case we use stdout sink and by enabling Debug mode I noticed that it suddenly stops sending events and the error logged is

2024-02-22T10:10:14Z DBG sending event to sink event="Stopping container mycontainer" sink=dump
2024-02-22T10:10:14Z DBG Cannot send event error="can't rename log file: rename /dev/stdout /dev/stdout-2024-02-21T15-50-28.224: permission denied" event="Stopping container mycontainer" sink=dump

Would you please advise? Looks like a bug to me. I am using version 1.6.1

yantsa commented 4 months ago

@mustafaakin maybe you can help here? thanks in advance.