Update horizontal-pod-autoscale-walkthrough.md
This commit is contained in:
@@ -114,11 +114,7 @@ Now, we will see how the autoscaler reacts to increased load.
|
|||||||
We will start a container, and send an infinite loop of queries to the php-apache service (please run it in a different terminal):
|
We will start a container, and send an infinite loop of queries to the php-apache service (please run it in a different terminal):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl run -i --tty busybox --image=busybox --restart=Never
|
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"
|
||||||
|
|
||||||
Hit enter for command prompt
|
|
||||||
|
|
||||||
while true; do wget -q -O- http://php-apache; done
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Within a minute or so, we should see the higher CPU load by executing:
|
Within a minute or so, we should see the higher CPU load by executing:
|
||||||
|
|||||||
Reference in New Issue
Block a user