Skip to content

Commit 813f0a1

Browse files
Jrmy2402jeremy.spriet
authored andcommitted
docs(aep-8459): clarify AEP
1 parent 4b6b2ec commit 813f0a1

File tree

1 file changed

+1
-2
lines changed
  • vertical-pod-autoscaler/enhancements/8459-memory-per-cpu

1 file changed

+1
-2
lines changed

vertical-pod-autoscaler/enhancements/8459-memory-per-cpu/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ This feature is particularly useful in environments where services are billed pr
3636

3737
* Allow users to specify a `memoryPerCPU` ratio in `VerticalPodAutoscaler` objects.
3838
* Ensure VPA recommendations respect the ratio across Target, LowerBound, UpperBound, and UncappedTarget.
39-
* Provide a feature gate to enable/disable the feature cluster-wide.
4039

4140
### Non-Goals
4241

@@ -88,7 +87,6 @@ memory_bytes = cpu_cores * memoryPerCPU
8887
* Ratio enforcement is strict:
8988
* If the memory recommendation would exceed `cpu * memoryPerCPU`, then **CPU is increased** to satisfy the ratio.
9089
* If the CPU recommendation would exceed `memory / memoryPerCPU`, then **memory is increased** to satisfy the ratio.
91-
* If ratio cannot be applied (e.g., missing CPU), fallback to standard recommendations.
9290
* With the `MemoryPerCPURatio` feature gate disabled, the `memoryPerCPU` field is ignored and recommendations fall back to standard VPA behavior.
9391

9492
> [!IMPORTANT]
@@ -143,6 +141,7 @@ The `memoryPerCPU` feature requires VPA version 1.5.0 or higher. The feature is
143141

144142
* `memoryPerCPU` must be > 0.
145143
* Value must be a valid `resource.Quantity` (e.g., `512Mi`, `4Gi`).
144+
* If `memoryPerCPU` is set, controlledResources must include both `cpu` and `memory`.
146145
* Admission ensures that memoryPerCPU is reachable within the VPA bounds.
147146
* Reject the object if `minAllowed.cpu` × `memoryPerCPU` > `maxAllowed.memory`.
148147
* Reject the object if `maxAllowed.cpu` × `memoryPerCPU` < `minAllowed.memory`.

0 commit comments

Comments
 (0)