Skip to content

Commit adaf408

Browse files
authored
Merge pull request #25951 from mburke5678/issue-burndown-24646
Changed HPA example for specific CPU
2 parents e08528e + f3a202e commit adaf408

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/nodes-pods-autoscaling-creating-cpu.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ spec:
109109
resource:
110110
name: cpu <9>
111111
target:
112-
type: Utilization <10>
112+
type: AverageValue <10>
113113
averageValue: 500m <11>
114114
----
115115
<1> Use the `autoscaling/v2beta2` API.
@@ -123,8 +123,8 @@ spec:
123123
<7> Specify the maximum number of replicas when scaling up.
124124
<8> Use the `metrics` parameter for memory utilization.
125125
<9> Specify `cpu` for CPU utilization.
126-
<10> Set to `Utilization`.
127-
<11> Set the type to `averageValue`.
126+
<10> Set to `AverageValue`.
127+
<11> Set to `averageValue` with the targeted CPU value.
128128

129129
.. Create the horizontal pod autoscaler:
130130
+

0 commit comments

Comments
 (0)