Can anyone elaborate how to use Cluster autoscaler addon-resizer and it's underlying Nanny program? In the GitHub it says "This container image watches over another container in a deployment, and vertically scales the dependent container up and down.
The nanny scales resources linearly with the number of nodes in the cluster. The base and marginal resource requirements are given as command line arguments, but you cannot give a marginal requirement without a base requirement.
The cluster size is periodically checked, and used to calculate the expected resources. If the expected and actual resources differ by more than the threshold (given as a +/- percent), then the deployment is updated (updating a deployment stops the old pod, and starts a new pod)."
Even though Cluster autscaler is a third party tool. So any general insight on this is appreciated.
https://github.com/kubernetes/autoscaler/tree/master/addon-resizer