You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a log line in the entrypoint that it's supposed to overwrite the line with the new info. From my testing that's not happening.
I discovered it cause some CI runs testing a kubernetes deployment was never ending. Tried and reproduced it locally, and the only time this was happening was when the clamd socket was a bit late to startup.
Looking into the logs, looks like it was printing everything into a single line, causing logs exceed what a lot of kubernetes tools "accept" as a normal line size.
For example, native kubectl command to get logs, it was "replaying" the logs showing the overwrite happening in fast forward.
ct install (helm's testing tool) wasn't happy about this.
k9s also wasn't happy. When I tried to wrap the logs lines it was freezing up.
etcd on k8s have a limit of 1MiB for every object. which is most likely what's causing the problem here. kubernetes/kubernetes#19781
Please consider instead of overwriting the line to just print it on a new line.
There is a log line in the entrypoint that it's supposed to overwrite the line with the new info. From my testing that's not happening.
I discovered it cause some CI runs testing a kubernetes deployment was never ending. Tried and reproduced it locally, and the only time this was happening was when the clamd socket was a bit late to startup.
Looking into the logs, looks like it was printing everything into a single line, causing logs exceed what a lot of kubernetes tools "accept" as a normal line size.
For example, native kubectl command to get logs, it was "replaying" the logs showing the overwrite happening in fast forward.
ct install (helm's testing tool) wasn't happy about this.
k9s also wasn't happy. When I tried to wrap the logs lines it was freezing up.
etcd on k8s have a limit of 1MiB for every object. which is most likely what's causing the problem here.
kubernetes/kubernetes#19781
Please consider instead of overwriting the line to just print it on a new line.
The line in question:
clamav-docker/clamav/1.0/debian/scripts/docker-entrypoint.sh
Line 70 in 4f093e0
Thanks
The text was updated successfully, but these errors were encountered: