ethfoo

Results 102 comments of ethfoo

No problem, we plan to include it in the roadmap.

参考一下这个,大概率cgo导致的, https://loggie-io.github.io/docs/user-guide/troubleshot/problems/#_1 建议你使用最新main分支,用make build-in-badger构建非cgo的二进制。

请问是使用的containerd容器运行时,并且无挂载volume的方式去采集日志吗? 如果使用emptyDir挂载容器日志,会有该问题吗?

emptyDir等挂载的方式都没有问题,软连接的一般也没有问题(除非链接的文件在loggie容器内不能识别,比如链接到了文件/data/a.log,但是loggie pod没有挂载/data路径) 看起来你的这个是配置存在冲突导致reload失败,建议重启一下Loggie再观察一下。

@ixiaoyi93 微信群里交流下,发一下日志看看,loggie当前确实没有在containerd无挂载volume的场景生产大规模跑过,一起看下怎么解决这个问题

> 同问,最好是也能支持表达式,类似这样 ![image](https://user-images.githubusercontent.com/25924966/264525649-dfe6a863-7d95-4688-9b89-82bb84b00a17.png) 这种logconfig匹配pod的时候可以做,因为k8s原生就支持,但是由于loggie涉及到pod事件接收到后,需要反向匹配查找logconfig的逻辑,复杂表达式的方式实现起来比较困难,也可能会影响性能。

目前一个pipeline仅能配置一个sink,如果要支持多个sink,需要自己写多个pipeline。 单个pipeline支持多个sink已经在roadmap中。

> Hello, we need windows support. Any update for this PR? We have not tested the operation under Windows, so we are not sure whether this PR can be merged....