knative / serving

Kubernetes-based, scale-to-zero, request-driven compute
https://knative.dev/docs/serving/
Apache License 2.0
5.56k stars 1.16k forks source link

How to test auto scaling of helloworld-go example? #7557

Closed dongdan39 closed 4 years ago

dongdan39 commented 4 years ago

Ask your question here:

Hi, Experts, Can anybody helps to provide guidelines to how to test auto scaling of helloworld-go example? I successfully deployed knative v0.11 on my kubernetes cluster, and could get the running output of the knative service of "Hello Go Sample v1!". But I'm interested in checking more about auto scaling of the serverless service. Thanks!

Cheers, Dan

nak3 commented 4 years ago

Does this docs https://knative.dev/docs/serving/samples/autoscale-go/ help you?

Btw, you should use the latest Knative v0.13 instead of v0.11.

vagababov commented 4 years ago

As @nak3 said, autoscale-go is a much better application to test scaling. In addition we suggest vegeta as your load generator.

dongdan39 commented 4 years ago

Thank you all! I will try with it.

Cheers, Dan

markusthoemmes commented 4 years ago

@dongdan39 is your issue resolved?

mattmoor commented 4 years ago

Been a while without comment, so I'm going to close this. Please open a new issue if you still have problems.