derailed / k9s

🐶 Kubernetes CLI To Manage Your Clusters In Style!
https://k9scli.io
Apache License 2.0
26.66k stars 1.67k forks source link

Viewing the helm release page freezes the interface #1618

Open orf opened 2 years ago

orf commented 2 years ago




Describe the bug We have ~157 helm releases installed on our development cluster. Viewing the helm tab on my fast MacBook takes ~10 seconds. Opening the filter with / takes 6 seconds, and each keypress takes several seconds to appear. When removing the search contents, it takes ~10 seconds for the list to appear again.

This is really frustrating, and very out of character as k9s is usually so very, very fast.

In comparison, viewing the pods page with ~800 pods takes a second.

To Reproduce Steps to reproduce the behavior:

  1. Go to :helm with ~160 helm releases installed
  2. Press /
  3. See how slow it is

Expected behavior It should not be slow

Versions (please complete the following information):

Additional context Add any other context about the problem here.

j2udev commented 2 years ago

Wanted to add some additional context here as I couldn't remember what the performance was like prior to adding the Helm values support and I didn't notice much of a difference between v0.25.18 (before it was introduced) and v0.25.19 (after it was introduced).

I don't have a cluster on hand that can test the scale of the OP, but I do also have a dev cluster running around 25 releases and I also notice a decent slowdown from a simple local cluster.

Eykha commented 7 months ago

Still a big issue for me as of k9s v0.31.4. Opening :helm takes 16s with ~400 releases installed on the cluster. Simply exiting the view can take up to a minute, and even Ctr + C will take ~15 seconds.