Skip to content

Commit c7bc044

Browse files
authored
Merge pull request #23873 from matt-sm/patch-1
Update horizontal-pod-autoscale-walkthrough.md
2 parents 59ee6ed + c3e87ab commit c7bc044

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,7 @@ Now, we will see how the autoscaler reacts to increased load.
114114
We will start a container, and send an infinite loop of queries to the php-apache service (please run it in a different terminal):
115115

116116
```shell
117-
kubectl run -it --rm load-generator --image=busybox /bin/sh
118-
119-
Hit enter for command prompt
120-
121-
while true; do wget -q -O- http://php-apache; done
117+
kubectl run -i --tty load-generator --rm --image=busybox --restart=Never -- /bin/sh -c "while sleep 0.01; do wget -q -O- http://php-apache; done"
122118
```
123119

124120
Within a minute or so, we should see the higher CPU load by executing:

0 commit comments

Comments
 (0)