PERF(security): adjust resources based on VPA
- Update authelia memory 256Mi→194Mi - Update authelia redis cpu 10m→23m, memory 64Mi→100Mi - Update falco memory 263Mi→283Mi - Update falcosidekick cpu 10m→15m, memory 128Mi→100Mi - Update external-secrets operator cpu 5m→15m, memory 128Mi→100Mi - Update external-secrets webhook cpu 2m→15m, memory 128Mi→100Mi - Update external-secrets certController cpu 2m→15m, memory 256Mi→283Mi - Update vault cpu 35m→49m, memory 263Mi→175Mi
This commit is contained in:
@@ -15,9 +15,9 @@ pod:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 256Mi
|
memory: 194Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 256Mi
|
memory: 194Mi
|
||||||
extraVolumes:
|
extraVolumes:
|
||||||
- name: users-database
|
- name: users-database
|
||||||
configMap:
|
configMap:
|
||||||
@@ -201,9 +201,9 @@ redis:
|
|||||||
master:
|
master:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 23m
|
||||||
memory: 64Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 64Mi
|
memory: 100Mi
|
||||||
|
|
||||||
# No persistence needed - using PostgreSQL
|
# No persistence needed - using PostgreSQL
|
||||||
|
|||||||
@@ -7,11 +7,10 @@ replicaCount: 1
|
|||||||
# 리소스 제한
|
# 리소스 제한
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 5m # Reduced from 20m based on actual usage (1m)
|
cpu: 15m
|
||||||
memory: 128Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
# cpu: removed to prevent throttling
|
memory: 100Mi
|
||||||
memory: 128Mi
|
|
||||||
|
|
||||||
# 동시 실행 제한
|
# 동시 실행 제한
|
||||||
concurrent: 3
|
concurrent: 3
|
||||||
@@ -28,11 +27,10 @@ webhook:
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 2m # Reduced from 10m based on actual usage (1m)
|
cpu: 15m
|
||||||
memory: 128Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
# cpu: removed to prevent throttling
|
memory: 100Mi
|
||||||
memory: 128Mi
|
|
||||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
@@ -49,11 +47,10 @@ certController:
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 2m # Reduced from 10m based on actual usage (1m)
|
cpu: 15m
|
||||||
memory: 256Mi
|
memory: 283Mi
|
||||||
limits:
|
limits:
|
||||||
# cpu: removed to prevent throttling
|
memory: 283Mi
|
||||||
memory: 256Mi
|
|
||||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
|
|||||||
@@ -16,10 +16,10 @@ image:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 49m
|
cpu: 49m
|
||||||
memory: 263Mi
|
memory: 283Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: null # Disable chart default (1 core)
|
cpu: null # Disable chart default (1 core)
|
||||||
memory: 263Mi
|
memory: 283Mi
|
||||||
|
|
||||||
# Falco configuration
|
# Falco configuration
|
||||||
falco:
|
falco:
|
||||||
@@ -125,10 +125,10 @@ falcosidekick:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 15m
|
||||||
memory: 128Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 128Mi
|
memory: 100Mi
|
||||||
|
|
||||||
config:
|
config:
|
||||||
# Output to stdout/logs
|
# Output to stdout/logs
|
||||||
|
|||||||
@@ -46,10 +46,10 @@ server:
|
|||||||
# 리소스 제한
|
# 리소스 제한
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 35m
|
cpu: 49m
|
||||||
memory: 263Mi
|
memory: 175Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 263Mi
|
memory: 175Mi
|
||||||
|
|
||||||
# Ingress 설정
|
# Ingress 설정
|
||||||
ingress:
|
ingress:
|
||||||
|
|||||||
Reference in New Issue
Block a user