You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that when navigating in list view, the ArgoCD UI make several requests for each resource even if it's not necessary.
For example if exec is enabled, every resource is checked if exec is allowed, even if it's not a pod.
On tree view this happens only when clicking on the 3 dots.
On list view this happens in the overview.
The following endpoints are called too many times:
Checklist:
argocd version
.Describe the bug
It seems that when navigating in list view, the ArgoCD UI make several requests for each resource even if it's not necessary.
For example if exec is enabled, every resource is checked if exec is allowed, even if it's not a pod.
On tree view this happens only when clicking on the 3 dots.
On list view this happens in the overview.
The following endpoints are called too many times:
/api/v1/settings
/api/v1/applications/guestbook/resource/actions?appNamespace=argocd&namespace=default&resourceName=guestbook-ui-56c646849b-2qsm5&version=v1&kind=Pod
/api/v1/applications/guestbook/resource/links?name=guestbook-ui-56c646849b-2qsm5&appNamespace=argocd&namespace=default&resourceName=guestbook-ui-56c646849b-2qsm5&version=v1&kind=Pod&group=
/api/v1/account/can-i/exec/create/default/<resource name>
To Reproduce
kind create cluster --name argocd
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
kubectl scale --replicas 10 -n default deploy guestbook-ui
(to better see the extent of the problem)Expected behavior
/api/v1/account/can-i/exec/create/default/<resource name>
) should only be called when clicking on the 3 dots./api/v1/account/can-i/exec/create/default/<resource name>
should only be called when clicking on a pod.Be careful not to introduce old bugs, see references in Related heading.
Video
list-view.mp4
Version
Related
The text was updated successfully, but these errors were encountered: