Experiment with lower CPU / more replicas (#57618)
This commit is contained in:
@@ -3,7 +3,7 @@ kind: Deployment
|
||||
metadata:
|
||||
name: webapp
|
||||
spec:
|
||||
replicas: 2
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: webapp
|
||||
|
||||
@@ -3,7 +3,7 @@ kind: Deployment
|
||||
metadata:
|
||||
name: webapp
|
||||
spec:
|
||||
replicas: 4
|
||||
replicas: 6
|
||||
selector:
|
||||
matchLabels:
|
||||
app: webapp
|
||||
@@ -23,12 +23,12 @@ spec:
|
||||
image: docs-internal
|
||||
resources:
|
||||
requests:
|
||||
cpu: 4000m
|
||||
cpu: 2500m
|
||||
# Absolute minimum to start app is 1000m
|
||||
# Node is single-threaded but we want more CPUs
|
||||
# for OS and image resizing, and other binary executions
|
||||
# Better to increase replicas or memory than CPU
|
||||
memory: 8Gi
|
||||
memory: 6.0Gi
|
||||
# Absolute minimum to start app is 4500Mi
|
||||
# Would increase with more pages, versions, or languages supported
|
||||
# The additional memory helps during traffic surges
|
||||
|
||||
Reference in New Issue
Block a user