PERF(security): optimize resources via VPA
- authelia: CPU 15m/15m, memory 100Mi/144Mi - authelia-redis: CPU 22m/32m, memory 100Mi/100Mi - cert-manager: CPU 15m/15m, memory 100Mi/100Mi - cert-manager-cainjector: CPU 15m/15m, memory 126Mi/248Mi - cert-manager-webhook: CPU 15m/15m, memory 100Mi/100Mi - external-secrets: CPU 15m/15m, memory 100Mi/109Mi - external-secrets-cert-controller: CPU 15m/15m, memory 144Mi/297Mi - external-secrets-webhook: CPU 15m/15m, memory 100Mi/100Mi - falco: CPU 34m/53m, memory 93Mi/144Mi - falcosidekick: CPU 15m/15m, memory 100Mi/100Mi - vault: CPU 34m/53m, memory 126Mi/163Mi
This commit is contained in:
@@ -8,12 +8,14 @@ ingress:
|
|||||||
# Pod configuration
|
# Pod configuration
|
||||||
pod:
|
pod:
|
||||||
kind: DaemonSet
|
kind: DaemonSet
|
||||||
|
# Resource settings (VPA lowerBound/target)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 194Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 194Mi
|
cpu: 15m
|
||||||
|
memory: 144Mi
|
||||||
extraVolumes:
|
extraVolumes:
|
||||||
- name: users-database
|
- name: users-database
|
||||||
configMap:
|
configMap:
|
||||||
@@ -195,11 +197,13 @@ redis:
|
|||||||
image:
|
image:
|
||||||
tag: latest
|
tag: latest
|
||||||
master:
|
master:
|
||||||
|
# Resource settings (VPA lowerBound/upperBound)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 23m
|
cpu: 22m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
|
cpu: 32m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
|
|
||||||
# No persistence needed - using PostgreSQL
|
# No persistence needed - using PostgreSQL
|
||||||
|
|||||||
@@ -6,21 +6,25 @@ installCRDs: true
|
|||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
|
# Resource settings (VPA lowerBound/upperBound)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 23m
|
cpu: 15m
|
||||||
memory: 115Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 115Mi
|
cpu: 15m
|
||||||
|
memory: 100Mi
|
||||||
|
|
||||||
webhook:
|
webhook:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Resource settings (VPA lowerBound/upperBound)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 23m
|
cpu: 15m
|
||||||
memory: 115Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 115Mi
|
cpu: 15m
|
||||||
|
memory: 100Mi
|
||||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
@@ -34,12 +38,14 @@ webhook:
|
|||||||
|
|
||||||
cainjector:
|
cainjector:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Resource settings (VPA lowerBound/target)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 23m
|
cpu: 15m
|
||||||
memory: 230Mi
|
memory: 126Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 230Mi
|
cpu: 15m
|
||||||
|
memory: 248Mi
|
||||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
|
|||||||
@@ -4,13 +4,14 @@
|
|||||||
# Replica count
|
# Replica count
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
# 리소스 제한 (20% increase from original)
|
# Resource settings (VPA lowerBound/target)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 5m
|
cpu: 15m
|
||||||
memory: 154Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 154Mi
|
cpu: 15m
|
||||||
|
memory: 109Mi
|
||||||
|
|
||||||
# 동시 실행 제한
|
# 동시 실행 제한
|
||||||
concurrent: 3
|
concurrent: 3
|
||||||
@@ -25,12 +26,14 @@ installCRDs: false
|
|||||||
# Webhook 설정
|
# Webhook 설정
|
||||||
webhook:
|
webhook:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Resource settings (VPA lowerBound/upperBound)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 2m
|
cpu: 15m
|
||||||
memory: 154Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 154Mi
|
cpu: 15m
|
||||||
|
memory: 100Mi
|
||||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
@@ -45,12 +48,14 @@ webhook:
|
|||||||
# CertController 설정
|
# CertController 설정
|
||||||
certController:
|
certController:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Resource settings (VPA lowerBound/target)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 2m
|
cpu: 15m
|
||||||
memory: 307Mi
|
memory: 144Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 307Mi
|
cpu: 15m
|
||||||
|
memory: 297Mi
|
||||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
|
|||||||
@@ -12,14 +12,14 @@ image:
|
|||||||
repository: falcosecurity/falco
|
repository: falcosecurity/falco
|
||||||
tag: 0.40.0
|
tag: 0.40.0
|
||||||
|
|
||||||
# Resource requests
|
# Resource settings (VPA lowerBound/target)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 49m
|
cpu: 34m
|
||||||
memory: 283Mi
|
memory: 93Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: null # Disable chart default (1 core)
|
cpu: 53m
|
||||||
memory: 283Mi
|
memory: 144Mi
|
||||||
|
|
||||||
# Falco configuration
|
# Falco configuration
|
||||||
falco:
|
falco:
|
||||||
@@ -123,11 +123,13 @@ falcosidekick:
|
|||||||
fullfqdn: false
|
fullfqdn: false
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
|
# Resource settings (VPA lowerBound/upperBound)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
|
cpu: 15m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
|
|
||||||
config:
|
config:
|
||||||
|
|||||||
@@ -43,13 +43,14 @@ server:
|
|||||||
# Extra args to use config from secret
|
# Extra args to use config from secret
|
||||||
extraArgs: "-config=/vault/userconfig/extraconfig-from-values.hcl"
|
extraArgs: "-config=/vault/userconfig/extraconfig-from-values.hcl"
|
||||||
|
|
||||||
# 리소스 제한
|
# Resource settings (VPA lowerBound/target)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 49m
|
cpu: 34m
|
||||||
memory: 175Mi
|
memory: 126Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 175Mi
|
cpu: 53m
|
||||||
|
memory: 163Mi
|
||||||
|
|
||||||
# Ingress 설정
|
# Ingress 설정
|
||||||
ingress:
|
ingress:
|
||||||
|
|||||||
Reference in New Issue
Block a user