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

pilot收集docker的标准输出,如果容器启动时间非常短日志就收集不到,这个有办法解决吗? #333

Open
mollyii opened this issue Jul 14, 2021 · 1 comment

Comments

@mollyii
Copy link

mollyii commented Jul 14, 2021

场景描述:
是一个定时任务的服务,每天会不停的去启动很多个docker容器,使用命令 docker run ... --rm ...,因为会起很多容器,所以会加上--rm选项,执行完了就删除了, 但是有的容器时间非常短,导致pilot无法收集到标准输出的内容。

@ztinpn
Copy link

ztinpn commented Nov 4, 2022

不是k8s吧?
建议延迟删除,你删的比人家收集还快,肯定不行

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

No branches or pull requests

2 participants