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,8 +179,9 @@ template.
spec:
template:
metadata:
autoscaling.knative.dev/metric: concurrency
autoscaling.knative.dev/class: hpa.autoscaling.knative.dev
annotations:
autoscaling.knative.dev/metric: concurrency
autoscaling.knative.dev/class: hpa.autoscaling.knative.dev
```
## Additional resources