From 14f9b40f66cb43ba6c1171524525fbe6fcbc5066 Mon Sep 17 00:00:00 2001 From: Luzhenxing Date: Wed, 23 Oct 2019 23:30:19 +0800 Subject: [PATCH] modify example error about hpa of autoscaling/v2beta2 HorizontalPodAutoscaler (#16950) --- .../run-application/horizontal-pod-autoscale-walkthrough.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md b/content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md index 8e5a8707a8..68ebef2bc2 100644 --- a/content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md +++ b/content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md @@ -310,7 +310,9 @@ spec: pods: metric: name: packets-per-second - targetAverageValue: 1k + target: + type: AverageValue + averageValue: 1k - type: Object object: metric: