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

[Carvel] Timeout occurs when try to see the applications deployed - http://<VM_IP>/#/c/default/ns/tap-install/apps #4542

Closed
cmoulliard opened this issue Mar 31, 2022 · 4 comments · Fixed by #4607
Assignees
Labels
component/plugin-carvel Issue related to kubeapps plugin to manage Carvel packages kind/enhancement An issue that reports an enhancement for an implemented feature

Comments

@cmoulliard
Copy link

Issue

Timeout occurs when try to see the applications deployed using as URL (e.g.: http://<VM_IP>/#/c/default/ns/tap-install/apps)

Screenshot 2022-03-30 at 14 18 38

kc get pkgi -A
NAMESPACE     NAME                       PACKAGE NAME                                   PACKAGE VERSION   DESCRIPTION           AGE
default       my-dashboard               kubernetes-dashboard.halkyonio.io              0.1.0             Reconcile succeeded   44h
tap-install   accelerator                accelerator.apps.tanzu.vmware.com              1.0.2             Reconcile succeeded   5d22h
tap-install   appliveview                run.appliveview.tanzu.vmware.com               1.0.2             Reconcile succeeded   5d22h
tap-install   appliveview-conventions    build.appliveview.tanzu.vmware.com             1.0.2             Reconcile succeeded   5d22h
tap-install   buildservice               buildservice.tanzu.vmware.com                  1.4.3             Reconcile succeeded   5d22h
tap-install   cartographer               cartographer.tanzu.vmware.com                  0.2.2             Reconcile succeeded   5d22h
tap-install   cert-manager               cert-manager.tanzu.vmware.com                  1.5.3+tap.1       Reconcile succeeded   5d22h
tap-install   cnrs                       cnrs.tanzu.vmware.com                          1.1.1             Reconcile succeeded   5d22h
tap-install   contour                    contour.tanzu.vmware.com                       1.18.2+tap.1      Reconcile succeeded   5d22h
tap-install   conventions-controller     controller.conventions.apps.tanzu.vmware.com   0.5.1             Reconcile succeeded   5d22h
tap-install   developer-conventions      developer-conventions.tanzu.vmware.com         0.5.0             Reconcile succeeded   5d22h
tap-install   fluxcd-source-controller   fluxcd.source.controller.tanzu.vmware.com      0.16.3            Reconcile succeeded   5d22h
tap-install   ootb-delivery-basic        ootb-delivery-basic.tanzu.vmware.com           0.6.1             Reconcile succeeded   5d22h
tap-install   ootb-supply-chain-basic    ootb-supply-chain-basic.tanzu.vmware.com       0.6.1             Reconcile succeeded   5d22h
tap-install   ootb-templates             ootb-templates.tanzu.vmware.com                0.6.1             Reconcile succeeded   5d22h
tap-install   service-bindings           service-bindings.labs.vmware.com               0.6.1             Reconcile succeeded   5d22h
tap-install   services-toolkit           services-toolkit.tanzu.vmware.com              0.5.1             Reconcile succeeded   5d22h
tap-install   source-controller          controller.source.apps.tanzu.vmware.com        0.2.1             Reconcile succeeded   5d22h
tap-install   spring-boot-conventions    spring-boot-conventions.tanzu.vmware.com       0.3.0             Reconcile succeeded   5d22h
tap-install   tap                        tap.tanzu.vmware.com                           1.0.2             Reconcile succeeded   5d22h
tap-install   tap-gui                    tap-gui.tanzu.vmware.com                       1.0.2             Reconcile succeeded   5d22h
tap-install   tap-telemetry              tap-telemetry.tanzu.vmware.com                 0.1.4             Reconcile succeeded   5d22h
tap-install   tekton-pipelines           tekton.tanzu.vmware.com                        0.30.1            Reconcile succeeded   5d22h

Originally posted by @cmoulliard in #4524 (comment)

@absoludity absoludity changed the title Timeout occurs when try to see the applications deployed - http://<VM_IP>/#/c/default/ns/tap-install/apps [Carvel] Timeout occurs when try to see the applications deployed - http://<VM_IP>/#/c/default/ns/tap-install/apps Mar 31, 2022
@absoludity
Copy link
Contributor

absoludity commented Mar 31, 2022

The same improvement that was done in #4378 for GetAvailablePackageSummaries can be done for GetInstalledPackageSummaries.

@cmoulliard
Copy link
Author

What is the status about this issue @absoludity ?

@absoludity
Copy link
Contributor

What is the status about this issue @absoludity ?

We've just added it to the current iteration, so hope to work on this this week or next.

@absoludity
Copy link
Contributor

Fixed in the attached PR #4607 . I've only tested it with 10 installed packages, and it's around 1/6th of the response time. Feel free to try it out. There are more optimizations that could be done there, but this should be enough to make it feel much more responsive (and avoid timeouts).

@ppbaena ppbaena added component/plugin-carvel Issue related to kubeapps plugin to manage Carvel packages kind/enhancement An issue that reports an enhancement for an implemented feature labels Apr 21, 2022
@ppbaena ppbaena added this to the Improvements in Carvel plugin milestone Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/plugin-carvel Issue related to kubeapps plugin to manage Carvel packages kind/enhancement An issue that reports an enhancement for an implemented feature
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants