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

Handle channel closes from pod event watcher #1179

Merged
merged 1 commit into from
Aug 22, 2018

Conversation

bskiba
Copy link
Member

@bskiba bskiba commented Aug 22, 2018

Issue: After ~30 minutes pod eviction event watch channel is closed. We are reading from a closed channel in an infinite loop that burns cpu. Causes recommender to start eating way too much cpu ~30 mins after start.
Fix: Watch for channel closure and restart the watch.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 22, 2018
@bskiba
Copy link
Member Author

bskiba commented Aug 22, 2018

@jbartosik Can you review?

@jbartosik
Copy link
Collaborator

Looks good to me.

@bskiba bskiba added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 22, 2018
@bskiba bskiba merged commit 6e9f520 into kubernetes:master Aug 22, 2018
yaroslava-serdiuk pushed a commit to yaroslava-serdiuk/autoscaler that referenced this pull request Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vertical-pod-autoscaler cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants