Rendering take too long in kubernetes. How to debug?
Unanswered
Gibo posted this in #help-forum
GiboOP
Hello, we have nextjs project running in kubernetes and it takes 1 sec to render the page on the server (not fetch the data, but the actual render itself). When running the web locally, it does render the page in 150-200ms.
This issue is present even on pods that take 0 traffic and we have moved to relatively high spec machines in GCP.
1. Can we somehow debug or monitor what is taking so long in the SSR process?
2. Is there any decent guide, what to look after in K8 deployments for nextjs?
thank you
This issue is present even on pods that take 0 traffic and we have moved to relatively high spec machines in GCP.
1. Can we somehow debug or monitor what is taking so long in the SSR process?
2. Is there any decent guide, what to look after in K8 deployments for nextjs?
thank you
1 Reply
GiboOP
Any and all suggestions are welcomed 🙂