From bbc82ea1f2d3d817d311ef712dfac67d2bac0518 Mon Sep 17 00:00:00 2001 From: Mengjiao Liu Date: Mon, 9 Aug 2021 18:07:38 +0800 Subject: [PATCH] [zh] Fix `selector` expect map not string and sync horizontal-pod-autoscale-walkthrough.md file --- .../run-application/horizontal-pod-autoscale-walkthrough.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/zh/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md b/content/zh/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md index ca9931c7d1..f831b28fab 100644 --- a/content/zh/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md +++ b/content/zh/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md @@ -304,7 +304,7 @@ First, get the YAML of your HorizontalPodAutoscaler in the `autoscaling/v2beta2` 首先,将 HorizontalPodAutoscaler 的 YAML 文件改为 `autoscaling/v2beta2` 格式: ```shell -kubectl get hpa.v2beta2.autoscaling -o yaml > /tmp/hpa-v2.yaml +kubectl get hpa php-apache -o yaml > /tmp/hpa-v2.yaml ```