Add annotation "autoscaling.knative.dev/metric: rps" when configuraging RPS (#2948)

This commit is contained in:
赵吉壮 2020-10-21 18:56:17 +08:00 committed by GitHub
parent 15153b3e46
commit a0c21a9614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ spec:
metadata:
annotations:
autoscaling.knative.dev/target: "150"
autoscaling.knative.dev/metric: "rps"
spec:
containers:
- image: gcr.io/knative-samples/helloworld-go