Merge pull request #24825 from novas0x2a/patch-1
document HPA's implicit deactivation
This commit is contained in:
@@ -433,7 +433,14 @@ behavior:
|
|||||||
selectPolicy: Disabled
|
selectPolicy: Disabled
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Implicit maintenance-mode deactivation
|
||||||
|
|
||||||
|
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
|
||||||
|
is set to 0, and the HPA's minimum replica count is greater than 0, the HPA
|
||||||
|
stops adjusting the target (and sets the `ScalingActive` Condition on itself
|
||||||
|
to `false`) until you reactivate it by manually adjusting the target's desired
|
||||||
|
replica count or HPA's minimum replica count.
|
||||||
|
|
||||||
## {{% heading "whatsnext" %}}
|
## {{% heading "whatsnext" %}}
|
||||||
|
|
||||||
@@ -441,4 +448,3 @@ behavior:
|
|||||||
* 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/).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user