1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Experiment with lower CPU / more replicas (#57618)

This commit is contained in:
Kevin Heis
2025-09-22 09:35:55 -07:00
committed by GitHub
parent b81fff4702
commit 73be1a54be
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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