Skip to content

Commit e2ee73d

Browse files
qiujian16knative-prow-robot
authored andcommitted
Add annotatios in autoscale example (#1901)
The original autoscale example misses annotations
1 parent dbae4d8 commit e2ee73d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/serving/configuring-the-autoscaler.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,9 @@ template.
179179
spec:
180180
template:
181181
metadata:
182-
autoscaling.knative.dev/metric: concurrency
183-
autoscaling.knative.dev/class: hpa.autoscaling.knative.dev
182+
annotations:
183+
autoscaling.knative.dev/metric: concurrency
184+
autoscaling.knative.dev/class: hpa.autoscaling.knative.dev
184185
```
185186

186187
## Additional resources

0 commit comments

Comments
 (0)