最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

reactjs - React + Vite in Kubernetes – 504 Errors When Increasing Frontend Replicas - Stack Overflow

programmeradmin2浏览0评论

I'm facing an issue when scaling my application in a Kubernetes cluster. With 2 backend replicas and 1 frontend replica, everything works fine. However, when I scale to 2 frontend replicas, the page goes blank, and some React chunks, along with other components, return a 504 (Gateway Timeout) error.

Interestingly, all the errors are related to files inside the node_modules/.vite/deps directory, but many other components from the same directory load and work without any issues.

Has anyone encountered this problem before and found a solution or any direction to investigate?

发布评论

评论列表(0)

  1. 暂无评论