Update horizontal-pod-autoscale-walkthrough.md
As per the error described in https://github.com/LevelUpEducation/kubernetes-demo/issues/31, guidance was to add the generator explicitly: `kubectl run --generator=run-pod/v1 -i --tty load-generator --image=busybox /bin/sh` But I prefer the example from the run docs https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_run/: `kubectl run -i --tty busybox --image=busybox --restart=Never`pull/23873/head
parent
1c7eb7ac58
commit
e85fabe3ed
|
@ -114,7 +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 -it --rm load-generator --image=busybox /bin/sh
|
kubectl run -i --tty busybox --image=busybox --restart=Never
|
||||||
|
|
||||||
Hit enter for command prompt
|
Hit enter for command prompt
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue