PERF(applications): optimize resources via VPA
- code-server: CPU 15m/15m, memory 225Mi/225Mi - docusaurus: CPU 10m/16m, memory 50Mi/50Mi - headlamp: CPU 15m/15m, memory 100Mi/100Mi - homer: CPU 10m/12m, memory 50Mi/50Mi - mas: CPU 15m/15m, memory 144Mi/203Mi - umami: CPU 15m/15m, memory 271Mi/323Mi
This commit is contained in:
@@ -40,13 +40,14 @@ service:
|
||||
type: ClusterIP
|
||||
port: 8080
|
||||
|
||||
# Resource limits
|
||||
# Resource settings (VPA lowerBound/target)
|
||||
resources:
|
||||
requests:
|
||||
cpu: 15m
|
||||
memory: 215Mi
|
||||
memory: 225Mi
|
||||
limits:
|
||||
memory: 215Mi
|
||||
cpu: 15m
|
||||
memory: 225Mi
|
||||
|
||||
# Security context
|
||||
securityContext:
|
||||
|
||||
@@ -34,12 +34,14 @@ ingress:
|
||||
hosts:
|
||||
- docusaurus0213.kro.kr
|
||||
|
||||
# Resource settings (VPA lowerBound/upperBound)
|
||||
resources:
|
||||
requests:
|
||||
memory: 100Mi
|
||||
cpu: 15m
|
||||
cpu: 10m
|
||||
memory: 50Mi
|
||||
limits:
|
||||
memory: 100Mi
|
||||
cpu: 16m
|
||||
memory: 50Mi
|
||||
|
||||
healthCheck:
|
||||
enabled: true
|
||||
|
||||
@@ -19,11 +19,13 @@ service:
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
|
||||
# Resource settings (VPA lowerBound/target)
|
||||
resources:
|
||||
requests:
|
||||
cpu: 15m
|
||||
memory: 100Mi
|
||||
limits:
|
||||
cpu: 15m
|
||||
memory: 100Mi
|
||||
|
||||
ingress:
|
||||
|
||||
@@ -34,11 +34,13 @@ controllers:
|
||||
repository: b4bz/homer
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
# Resource settings (VPA lowerBound/upperBound)
|
||||
resources:
|
||||
requests:
|
||||
cpu: 11m
|
||||
cpu: 10m
|
||||
memory: 50Mi
|
||||
limits:
|
||||
cpu: 12m
|
||||
memory: 50Mi
|
||||
pod:
|
||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||
|
||||
@@ -43,12 +43,14 @@ controllers:
|
||||
POSTGRES_PORT: "5432"
|
||||
POSTGRES_USER: "bluemayne"
|
||||
REDIS_URL: "redis://redis:6379/0"
|
||||
# Resource settings (VPA lowerBound/target)
|
||||
resources:
|
||||
requests:
|
||||
cpu: 15m
|
||||
memory: 175Mi
|
||||
memory: 144Mi
|
||||
limits:
|
||||
memory: 175Mi
|
||||
cpu: 15m
|
||||
memory: 203Mi
|
||||
probes:
|
||||
startup:
|
||||
enabled: true
|
||||
|
||||
@@ -50,12 +50,14 @@ service:
|
||||
type: ClusterIP
|
||||
port: 3000
|
||||
|
||||
# Resource settings (VPA lowerBound/target)
|
||||
resources:
|
||||
requests:
|
||||
cpu: 15m
|
||||
memory: 283Mi
|
||||
memory: 271Mi
|
||||
limits:
|
||||
memory: 283Mi
|
||||
cpu: 15m
|
||||
memory: 323Mi
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user