lucumt 1.这个问题对收集日志没有影响,他收集日志的信息是根据docker中日志文件的信息。如果你要修改可以自己重新打包一个镜像试试https://github.com/fluent/fluent-operator/blob/master/cmd/fluent-watcher/fluentbit/Dockerfile
做如下的类似修改
# Set timezone
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone
或者往fluent-operator仓库提issue或者feature增加这个功能https://github.com/fluent/fluent-operator/tree/master
2和3是因为刚开始收集日志,日志量太大,导致fluentbit的缓存不够,可以调整他的MemBufLimit参数https://github.com/fluent/fluent-operator/blob/master/apis/fluentbit/v1alpha2/plugins/input/tail_types.go#L61C2-L61C13
在yaml中是修改该参数即可https://github.com/fluent/fluent-operator/blob/master/manifests/logging-stack/input-tail.yaml#L14
修改为50MB或者更高都行