Skip to content

Commit 65db534

Browse files
authored
Merge pull request #6616 from dippynark/clarify-vpa-hpa-limitations
Clarify VPA and HPA limitations when scaling on resource metrics
2 parents 124daf6 + 804c635 commit 65db534

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

vertical-pod-autoscaler/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,12 @@ vpa-post-processor.kubernetes.io/{containerName}_integerCPU=true
384384
recreated. This can be partly
385385
addressed by using VPA together with [Cluster Autoscaler](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#basics).
386386
* VPA does not update resources of pods which are not run under a controller.
387-
* Vertical Pod Autoscaler **should not be used with the [Horizontal Pod Autoscaler](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-resource-metrics) (HPA) on CPU or memory** at this moment.
388-
However, you can use VPA with [HPA on custom and external metrics](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#scaling-on-custom-metrics).
387+
* Vertical Pod Autoscaler **should not be used with the [Horizontal Pod
388+
Autoscaler](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-resource-metrics)
389+
(HPA) on the same resource metric (CPU or memory)** at this moment. However, you can use [VPA with
390+
HPA on separate resource metrics](https://github.com/kubernetes/autoscaler/issues/6247) (e.g. VPA
391+
on memory and HPA on CPU) as well as with [HPA on custom and external
392+
metrics](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#scaling-on-custom-metrics).
389393
* The VPA admission controller is an admission webhook. If you add other admission webhooks
390394
to your cluster, it is important to analyze how they interact and whether they may conflict
391395
with each other. The order of admission controllers is defined by a flag on API server.

0 commit comments

Comments
 (0)