Open huasiy opened 4 months ago
Hi, I'd experienced similar issue because of 'Too much short processing time". When i just return "hello world" in simple python code, than 10000 concurrency could processed in one pod. I recommend you to put some thread-stop code like Thread.stop(), than it will scale-out.
This is one reason. I find when knative activator use clusterip to proxy requests, kubernetes service doesn't evenly distribute proxy requests. So I let activator use pod ip in addition to process time.
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen
. Mark the issue as
fresh by adding the comment /remove-lifecycle stale
.
What version of Knative?
Expected Behavior
I follow the knative docs to build helloworld image and create service with following config.
I use following script to invoke.
Five helloworld should be reponsed and five pods being created.
Actual Behavior
I get five helloworld but only one pod being created.
Steps to Reproduce the Problem
Install kubernetes v1.29 with containerd. Then install calico.yaml,metallb.yaml. Use istioctl v1.20.2 to install istio operator. Install serving-crds.yaml and serving-core.yaml. Install dns and istio. Then follow knative docs to create service and invoke with aforementioned bash script.