Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The next goal is to "break" the cluster. By gradually increasing the number of replicas of the deployment that sends requests to the php-apache application, one finds the breaking point, which obviously grows as the flavor of the VMs grows.

Code Block
languagebash
titleStressTest (xLarge)
collapsetrue
$ kubectl autoscale deployment php-apache --cpu-percent=50 --min=1 --max=200
$ kubectl scale deploy infinite-calls --replicas=50
$ kubectl get hpa --watch