Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
If you need to check hpa
, Horizontal Pod Autoscaling, or throw some chaos at a selected deployment in Kubernetes, then you may run a Load Generator
The next command will use a busybox
container and dump you into it’s shell window:
kubectl run -i --tty load-generator --image=busybox /bin/sh
As a substitute, you may additionally run:
kubectl --generator=run-pod/v1 run -i --tty load-generator --image=busybox /bin/sh
wget
loopNow you can set off a wget
loop to make HTTP request calls to your deployment:
whereas true; do wget -q -O - http://php-apache; achieved
The above command makes calls to a php-apache
deployment.
You possibly can swap out the above http://php-apache
URL by discovering out what your deployment known as. The next code will let you recognize the identify of the deployments accessible in your cluster:
kubectl get deploy