Apply suggestions from code review

Co-authored-by: Tim Bannister <tim@scalefactory.com>
pull/24825/head
Mike Lundy 2020-10-31 12:00:00 -07:00 committed by GitHub
parent 0f4db0dc90
commit 862482e4d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -433,12 +433,12 @@ behavior:
selectPolicy: Disabled selectPolicy: Disabled
``` ```
## Support for implicit maintenance-mode deactivation ## Implicit maintenance-mode deactivation
Starting from v1.4, you can implicitly deactivate the HPA for a target without the You can implicitly deactivate the HPA for a target without the
need to change the HPA configuration itself. If the target's desired replica count need to change the HPA configuration itself. If the target's desired replica count
is set to 0, and the HPA's minimum replica count is greater than 0, the HPA will is set to 0, and the HPA's minimum replica count is greater than 0, the HPA
cease to adjust the target (and will set the `ScalingActive` Condition on itself stops adjusting the target (and sets the `ScalingActive` Condition on itself
to `false`) until you reactivate it by manually adjusting the target's desired to `false`) until you reactivate it by manually adjusting the target's desired
replica count or HPA's minimum replica count. replica count or HPA's minimum replica count.
@ -448,4 +448,3 @@ replica count or HPA's minimum replica count.
* Design documentation: [Horizontal Pod Autoscaling](https://git.k8s.io/community/contributors/design-proposals/autoscaling/horizontal-pod-autoscaler.md). * Design documentation: [Horizontal Pod Autoscaling](https://git.k8s.io/community/contributors/design-proposals/autoscaling/horizontal-pod-autoscaler.md).
* kubectl autoscale command: [kubectl autoscale](/docs/reference/generated/kubectl/kubectl-commands/#autoscale). * kubectl autoscale command: [kubectl autoscale](/docs/reference/generated/kubectl/kubectl-commands/#autoscale).
* Usage example of [Horizontal Pod Autoscaler](/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/). * Usage example of [Horizontal Pod Autoscaler](/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/).