Skip to content

Commit 5c5ddf2

Browse files
authored
Show how to not set CPU limits in full-example.yaml (#92)
Signed-off-by: David Xia <david@davidxia.com>
1 parent ff68e15 commit 5c5ddf2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

examples/full-example.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,15 @@ image:
7171
# Set replicas for HA
7272
replicas: 3
7373

74-
# Configure resource limits (Guaranteed QoS: requests = limits)
74+
# Configure resource limits
7575
# Following 1GB:1CPU ratio (1000m CPU = 1Gi memory)
76+
# No CPU limits are set so the container can use idle CPU on the host.
77+
noCpuLimits: true
7678
resources:
7779
requests:
7880
cpu: 500m
7981
memory: 512Mi
8082
limits:
81-
cpu: 500m
8283
memory: 512Mi
8384

8485
# Enable PodDisruptionBudget

0 commit comments

Comments
 (0)