-
Notifications
You must be signed in to change notification settings - Fork 266
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
Possible performance degradation at edit configmap #9453
Comments
Would you be able to look at the browser's dev tools window's Network tab and provide a screenshot of the requests that have been made? There may be one in there that's stuck on pending or takes a long time to complete |
Would you be able to select the Is this only an issue when navigating to the page (if so how many config maps are in the cluster) or also when refreshing? |
To be validated against server-side pagination feature. I'm assuming we're fetching all of a resource when we don't need to. Those cases will be removed as part of the pagination feature |
Linking #9965 |
Setup
Describe the bug
After updating dashboard from 2.6.1 to 2.7.5 I noticed very long page loading while trying to edit config on configmaps with lots of values. So big, that browser prompts to stop that tab. After pressing tab stop ui is immediately loaded, but values are not editable.
To Reproduce
kv='';for n in $(seq 1 100);do kv="$kv --from-literal=key${n}=config${n}";done;kubectl create configmap big-cm $kv -n default
Result
default view and edit yaml pages are loaded instantly
edit config ui hangs tab for 30+ seconds
Expected Result
edit config ui loads in less than 10 seconds and allows to edit and save values
Screenshots
N/A
Additional context
Not a frontender, but it sounds like you creating an instance of codemirror editor for each value field?
Adding replicas didn't help, here's metrics:
The text was updated successfully, but these errors were encountered: