Add annotatios in autoscale example (#1901)

The original autoscale example misses annotations
This commit is contained in:
Qiu Jian 2019-10-22 06:02:25 +08:00 committed by Knative Prow Robot
parent dbae4d819c
commit e2ee73d197
1 changed files with 3 additions and 2 deletions

View File

@ -179,6 +179,7 @@ template.
spec: spec:
template: template:
metadata: metadata:
annotations:
autoscaling.knative.dev/metric: concurrency autoscaling.knative.dev/metric: concurrency
autoscaling.knative.dev/class: hpa.autoscaling.knative.dev autoscaling.knative.dev/class: hpa.autoscaling.knative.dev
``` ```