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

fix: infinite retry container discovery #1454

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Abingcbc
Copy link
Collaborator

问题:在某些场景下,容器运行时比iLogtail启动要慢很多。原有的初始化重试时间不够长。
解决:如果容器运行时发现初始化失败,那么后续的发现逻辑也不应该执行。PR中启动了一个独立的goroutine一直重试初始化,直至以下两种情况下成立:

  1. 用户指定使用Containerd,且Containerd初始化成功
  2. 用户不指定使用Containerd,且任意一种运行时初始化成功

pkg/helper/docker_center.go Outdated Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

None yet

4 participants