serving icon indicating copy to clipboard operation
serving copied to clipboard

Is it possiable use hpa with kpa ?

Open oops-oom opened this issue 3 years ago • 1 comments

Is it possiable to scale up/down with hpa and kpa together? For example, setting concurrency to 100rps, the cpu utilization may be 100% when concurrency is 80rps. With hpa together, it may scale up before the cpu utilization go up to 100%. And when rps goes to 0, deployment can scale to 0.

oops-oom avatar Mar 13 '23 09:03 oops-oom

No unfortunately it is not possible to to combine those two autoscalers. You could try to create your own to accomplish this.

There was a really old talk about how to do that - see https://github.com/josephburnett/kubecon18

Note: the Knative API in the video are a very old API version (v1alpha1) which we've dropped ages ago.

dprotaso avatar Mar 15 '23 14:03 dprotaso