Update HPA Algorithm Docs for v1.15 (#14728)

Also changes a link to algorithm details from initial design proposal in Github.
This commit is contained in:
Guy Templeton
2019-06-11 03:04:17 +01:00
committed by Kubernetes Prow Robot
parent 2a0f39fb41
commit d9b19701c3
2 changed files with 6 additions and 3 deletions
@@ -81,7 +81,7 @@ controlled by the php-apache deployment we created in the first step of these in
Roughly speaking, HPA will increase and decrease the number of replicas
(via the deployment) to maintain an average CPU utilization across all Pods of 50%
(since each pod requests 200 milli-cores by [kubectl run](https://github.com/kubernetes/kubernetes/blob/{{< param "githubbranch" >}}/docs/user-guide/kubectl/kubectl_run.md), this means average CPU usage of 100 milli-cores).
See [here](https://git.k8s.io/community/contributors/design-proposals/autoscaling/horizontal-pod-autoscaler.md#autoscaling-algorithm) for more details on the algorithm.
See [here](/docs/tasks/run-application/horizontal-pod-autoscale/#algorithm-details) for more details on the algorithm.
```shell
kubectl autoscale deployment php-apache --cpu-percent=50 --min=1 --max=10