From e2ee73d197d1fc61482af889b56577b98f13d6c1 Mon Sep 17 00:00:00 2001 From: Qiu Jian Date: Tue, 22 Oct 2019 06:02:25 +0800 Subject: [PATCH] Add annotatios in autoscale example (#1901) The original autoscale example misses annotations --- docs/serving/configuring-the-autoscaler.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/serving/configuring-the-autoscaler.md b/docs/serving/configuring-the-autoscaler.md index bbcd57b04..3d43e8b00 100644 --- a/docs/serving/configuring-the-autoscaler.md +++ b/docs/serving/configuring-the-autoscaler.md @@ -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