Summary
Uploaded File chunks rerouted to different pods. Which is giving us invalid chunk number errors
If we have autoscaling, does this mean that each of those 10 chunks gets sent to a different pod?
What is the current bug behavior?
When you upload files to WIPP, you cut a file up into 1MB chunks rather than just creating a continuous file stream
So if we have a 10MB file, we send 10 (1MB) chunks of files to the backend
Nginx is routing different file chunk parts to different pods
If you look at the logs attached, it is showing that there are invalid flow chunks
What is the expected correct behavior?
No chunk errors should be there when the file conversion happen
Steps to reproduce
@Nicholas-Schaub Uploading 1500 Images
5 Replica K8s running which is scaled using Horizontal pod Autoscaler (HPA)
Min Pods 1 and Max pods 5
Cpu Requests: 1
Cpu Limits: 2
Relevant screenshots and/or logs
pod 1 running initially And
pod2 & pod3 started by autoscaling activity
pod1.txt
pod2.txt
pod3.txt
Environment info
labshare/wipp-backend:3.0.0-generic
Possible fixes
Not So Sure
cc: @Nicholas-Schaub
Summary
Uploaded File chunks rerouted to different pods. Which is giving us invalid chunk number errors
If we have autoscaling, does this mean that each of those 10 chunks gets sent to a different pod?
What is the current bug behavior?
When you upload files to WIPP, you cut a file up into 1MB chunks rather than just creating a continuous file stream
So if we have a 10MB file, we send 10 (1MB) chunks of files to the backend
Nginx is routing different file chunk parts to different pods
If you look at the logs attached, it is showing that there are invalid flow chunks
What is the expected correct behavior?
No chunk errors should be there when the file conversion happen
Steps to reproduce
@Nicholas-Schaub Uploading 1500 Images
5 Replica K8s running which is scaled using Horizontal pod Autoscaler (HPA)
Min Pods 1 and Max pods 5
Cpu Requests: 1
Cpu Limits: 2
Relevant screenshots and/or logs
pod 1 running initially And
pod2 & pod3 started by autoscaling activity
pod1.txt
pod2.txt
pod3.txt
Environment info
labshare/wipp-backend:3.0.0-generic
Possible fixes
Not So Sure
cc: @Nicholas-Schaub