Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

应用pod重启后,loggie无法采集 #645

Open
linyuqi opened this issue Nov 7, 2023 · 2 comments
Open

应用pod重启后,loggie无法采集 #645

linyuqi opened this issue Nov 7, 2023 · 2 comments
Labels
question Further information is requested

Comments

@linyuqi
Copy link

linyuqi commented Nov 7, 2023

场景如下:
正常的deployment pod nginx日志使用PVC挂载,重启pod之后,loggie不能正常采集,通过help接口可以看到podname已经更新,且paths也已经更新,但loggie所处节点的日志依然显示监听的是重启之前的podname,请问这种情况是bug还是有配置可以解决?我目前只能是对有问题的loggie重启,但这个会引起另一个问题就是其它正常的日志采集会提示warning,提示之前的日志被删除,猜测可能是因为重启后读取了新的本地挂载路径导致的

@linyuqi linyuqi added the question Further information is requested label Nov 7, 2023
@ethfoo
Copy link
Collaborator

ethfoo commented Nov 10, 2023

换成非pvc挂载的方式试试呢?

@linyuqi
Copy link
Author

linyuqi commented Nov 10, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants