[Serverless Knative] Knative Docs - Configuring the requests per second (RPS) target
Configuring the requests per second (RPS) target
This setting specifies a target for requests-per-second per replica of an application.
-
Global key:
requests-per-second-target-default
-
Per-revision annotation key:
autoscaling.knative.dev/target
(your revision must also be configured to use therps
metric annotation) -
Possible values: An integer.
-
Default:
"200"
Example:
Per Revision
1 | apiVersion: serving.knative.dev/v1 |
Global (ConfigMap)
1 |
|
Global (Operator)
1 |
|
References
[2] Home - Knative - https://knative.dev/docs/
[3] Configuring targets - Knative - https://knative.dev/docs/serving/autoscaling/autoscaling-targets/
[4] Configuring metrics - Knative - https://knative.dev/docs/serving/autoscaling/autoscaling-metrics/