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

viewing over 50 endpoints in k9s, the CPU usage reaches 100% #2681

Open
eternam2 opened this issue Apr 28, 2024 · 0 comments
Open

viewing over 50 endpoints in k9s, the CPU usage reaches 100% #2681

eternam2 opened this issue Apr 28, 2024 · 0 comments

Comments

@eternam2
Copy link

Below is a draft for the issue to be submitted to the k9s GitHub repository based on the template you've shown, and including the details you've provided about the CPU usage issue when viewing over 50 endpoints:

Describe the bug
When viewing over 50 endpoints in k9s, the CPU usage reaches 100%, making it difficult to interact with the application properly. This occurs consistently when the endpoints view is populated with more than 50 entries, indicating a potential performance optimization issue in views handling large sets of endpoints.

To Reproduce
Steps to reproduce the behavior:

Launch k9s.
Navigate to the endpoints view by typing :ep.
Observe the CPU usage as the endpoints populate the view, especially when the total number exceeds 50.
Historical Documents

No additional documents available. Issue reproducible on current setup without specific configurations or resource manifests.
Expected behavior
I expected the application to handle large numbers of endpoints without significant degradation in performance. The CPU should not spike to 100%, and the application should remain responsive, allowing for continuous monitoring without performance penalties.

Screenshots
If applicable, screenshots of the CPU usage spike could be added here to illustrate the issue.

Versions (please complete the following information):

OS: CentOS 7
K9s: 0.32.4
K8s: 1.26.14

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

1 participant