Skip to main content

Measures

Replicas & Autoscaler

A maximum can be defined with autoscaler. This means that it is no longer possible with kubectl scale to generate more than the maximum number of pods.

example of deployment with name test:

kubectl autoscale deployment test max=3

Further it is with the command

kubectl autoscale deployment test max=10 min=1 --cpu-percent=50

possible that Deployment test scales between one and ten pods depending on CPU utilization.


Included in the following risks