Incomplete loading of files
Unanswered
Spectacled bear posted this in #help-forum
Spectacled bearOP
I work in the DevOps team and I don't know much about NextJS projects. I have been dealing with a problem for the launch of one of the projects for several days.
When we build one of the projects and launch its image on the Kubernetes platform, some chunked files are loaded incompletely. Actually, this error only happens on some files.
Even in different pods that are all created from the same image, errors can happen on different files. When a file has an error, you can see this issue in the Pod itself with curl, and the file returns half in the output.
Sometimes some pods work on some cluster nodes without errors, but some others have errors on other nodes. The configuration of all cluster nodes is the same.
The strange thing is that when the image is launched on the Docker platform, no error is seen.
The node version of the program is 20.10.0 and the version of NextJS is 14.0.4.
None of the pods have PVC and are launched with a deployment.
I checked all the container logs and since they all have a status of 200, I don't have any errors.
Does anyone know why this could be happening?
When we build one of the projects and launch its image on the Kubernetes platform, some chunked files are loaded incompletely. Actually, this error only happens on some files.
Even in different pods that are all created from the same image, errors can happen on different files. When a file has an error, you can see this issue in the Pod itself with curl, and the file returns half in the output.
Sometimes some pods work on some cluster nodes without errors, but some others have errors on other nodes. The configuration of all cluster nodes is the same.
The strange thing is that when the image is launched on the Docker platform, no error is seen.
The node version of the program is 20.10.0 and the version of NextJS is 14.0.4.
None of the pods have PVC and are launched with a deployment.
I checked all the container logs and since they all have a status of 200, I don't have any errors.
Does anyone know why this could be happening?