-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With min-scale > 1 and activator only the first pod receive traffic #12593
Comments
What gateway u are using? istio? |
Yes
|
This issue is stale because it has been open for 90 days with no |
This should be reopened it's an actual bug hitting production workloads |
/triage accepted Want to priortize an investigation in v1.11.0 timeframe |
/assign @dprotaso Found the issue - it seems like when we have exactly 2 pods that have equal weight we will always pick the first one serving/pkg/activator/net/lb_policy.go Lines 65 to 70 in 88cae7f
If you kick off a bunch of requests in parallel then you'll get better spreading since the weight's won't be even. |
@SharpEdgeMarshall do you have a way to repro your production issue - ie. similar to #14011 ? It would be good to know if there are other scenarios where this happens |
What version of Knative?
0.26.0
Expected Behavior
/kind bug
If you set
min-scale=2
all pods receive trafficActual Behavior
activator
proxing reqeustsSteps to Reproduce the Problem
Istio Version: 1.11.4
Knative Version: 0.26.0
Kubernetes version: (use kubectl version): 1.21
OS (e.g. from /etc/os-release): bottlerocket
The text was updated successfully, but these errors were encountered: