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