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 issue with long-running apiserver endpoints watch #5478

Merged
merged 1 commit into from Apr 21, 2022

Conversation

brandond
Copy link
Contributor

@brandond brandond commented Apr 21, 2022

Proposed Changes

Use ListWatch helpers to retry when the watch channel is closed.

Types of Changes

bugfix

Verification

Leave k3s running for ~30 minutes, note no spamming errors:

ERRO[2110] Failed to watch apiserver addresses: could not convert event object to endpoint: { <nil>}

Linked Issues

User-Facing Change

NONE

Further Comments

@brandond brandond requested a review from a team as a code owner April 21, 2022 09:38
Use ListWatch helpers to retry when the watch channel is closed.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
@brandond brandond force-pushed the fix_apiserver_endpoint_watch branch from 5f5254b to 33340cc Compare April 21, 2022 09:41
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