Skip to content

Commit 7bc4e6a

Browse files
committed
disable cpu limit by default
1 parent 08ea6fa commit 7bc4e6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
resources: # Because if limits = requests then QoS is set to "Guaranteed"
3232
limits:
3333
memory: "500Mi" # If container uses over 500MB it is killed (OOM)
34-
cpu: "2" # If container uses over 2 vCPU it is throttled
34+
#cpu: "2" # Not normally needed, unless you need to protect other workloads or QoS must be "Guaranteed"
3535
requests:
3636
memory: "500Mi" # Scheduler finds a node where 500MB is available
3737
cpu: "1" # Scheduler finds a node where 1 vCPU is available

0 commit comments

Comments
 (0)