Skip to content

Commit 90f2d90

Browse files
authored
Merge pull request #29250 from jalagari/main
Selector expect map not string
2 parents ee245ff + 2eda36e commit 90f2d90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,9 @@ section to your HorizontalPodAutoscaler manifest to specify that you need one wo
397397
external:
398398
metric:
399399
name: queue_messages_ready
400-
selector: "queue=worker_tasks"
400+
selector:
401+
matchLabels:
402+
queue: "worker_tasks"
401403
target:
402404
type: AverageValue
403405
averageValue: 30

0 commit comments

Comments
 (0)