devtron-labs / devtron

Tool integration platform for Kubernetes
https://devtron.ai
Apache License 2.0
4.38k stars 481 forks source link

Bug: Events page in resource browser throws Gateway Timeout intermittently #4108

Open tayalrishabh96 opened 1 year ago

tayalrishabh96 commented 1 year ago

πŸ“œ Description

Events page in the resource browser section throws HTTP 504 gateway timeout and it bugs out in case there are around 3k events or more as per what I've observed.

πŸ‘Ÿ Reproduction steps

  1. Just make sure your cluster has greater than 3k events in last few minutes and then clicking on events page and refreshing it 2-3 times should replicate the issue.

πŸ‘ Expected behavior

We bring 100 events per pages but I guess devtron is bringing all the 3k+ events together which is creating this issue. Expected behaviour should have been something like to load more events only on going to next page.

πŸ‘Ž Actual Behavior

We bring 100 events per pages but I guess devtron is bringing all the 3k+ events together which is creating this issue.

☸ Kubernetes version

EKS 1.26

Cloud provider

AWS

🌍 Browser

Chrome

🧱 Your Environment

NA

βœ… Proposed Solution

We can have been something like to load more events only on going to the next page.

πŸ‘€ Have you spent some time to check if this issue has been raised before?

🏒 Have you read the Code of Conduct?

AB#6249

vikramdevtron commented 4 months ago

@tayalrishabh96 this should works fine now. can you confirm is this still an issue.