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

Don't block metadata startup on pod/node list #1611

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

aimichelle
Copy link
Member

Summary: In clusters with lots of pods or nodes, there were some instances of metadata failing to start up.
It turns out that we were blocking on the list, which can take a long time depending on API latency/how many pods/nodes there are. Instead, we should wrap this in a goroutine, but make sure we wait for the pod/node list before starting the next watcher.

Relevant Issues: #1484

Type of change: /kind bug

Test Plan: Skaffold, existing unit tests

Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>
Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>
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.

2 participants