Skip to content

Commit 738efc3

Browse files
committed
Fix calculating karpenter vpa max CPU
Signed-off-by: Mikkel Oscar Lyderik Larsen <[email protected]>
1 parent 3ce371a commit 738efc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cluster/manifests/z-karpenter/vpa.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ spec:
2525
{{ range $NodePool := .Cluster.NodePools}}
2626
{{ if eq $NodePool.Name "default-master" }}
2727
# Scaling is relative to r6g.large (smallest master node)
28-
# 0.064 -> ~1024Mi memory, 0.027 -> ~50m CPU
28+
# 0.064 -> ~1024Mi memory, 0.025 -> ~50m CPU
2929
memory: {{ scaleQuantity (instanceTypeMemoryQuantity (index .InstanceTypes 0)) 0.064 }}
30-
cpu: {{ scaleQuantity (instanceTypeCPUQuantity (index .InstanceTypes 0)) 0.027 }}
30+
cpu: {{ scaleQuantity (instanceTypeCPUQuantity (index .InstanceTypes 0)) 0.025 }}
3131
{{ end }}
3232
{{ end }}
3333
{{end}}

0 commit comments

Comments
 (0)