[release-1.6] Using RPS as scaling metric always requires an annotation (#5237)

* using RPS as scaling metric always requires an annotation

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>

* typo

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>

* remove whitespace

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
Co-authored-by: Paul S. Schweigert <paul@paulschweigert.com>
This commit is contained in:
Knative Prow Robot 2022-09-22 18:26:13 +01:00 committed by GitHub
parent d09ad64e5f
commit a9c5c67bca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# Configuring the requests per second (RPS) target
This setting specifies a target for requests-per-second per replica of an application.
This setting specifies a target for requests-per-second per replica of an application. Your revision must also be configured to use the `rps` [metric annotation](autoscaling-metrics.md).
* **Global key:** `requests-per-second-target-default`
* **Per-revision annotation key:** `autoscaling.knative.dev/target` (your revision must also be configured to use the `rps` [metric annotation](autoscaling-metrics.md))
* **Per-revision annotation key:** `autoscaling.knative.dev/target`
* **Possible values:** An integer.
* **Default:** `"200"`