From 9cc2aa225a03678b93f3873ae0189e9ff86f8ed1 Mon Sep 17 00:00:00 2001 From: nirroz93 <32959392+nirroz93@users.noreply.github.com> Date: Mon, 16 Mar 2020 06:48:35 +0200 Subject: [PATCH] correct example (#19137) if you will try this it will give an error: "found character that cannot start any token" same for all versions --- .../run-application/horizontal-pod-autoscale-walkthrough.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 6a9fe4de32..800abfea69 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 @@ -369,8 +369,8 @@ label, you can specify the following metric block to scale only on GET requests: type: Object object: metric: - name: `http_requests` - selector: `verb=GET` + name: http_requests + selector: {matchLabels: {verb: GET}} ``` This selector uses the same syntax as the full Kubernetes label selectors. The monitoring pipeline