serving
serving copied to clipboard
Is it possiable use hpa with kpa ?
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.
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.