FIX(falco): falco oom issues
- increase memory limits - Falco: add 512Mi memory limit - Falcosidekick: increase memory limit 256Mi -> 512Mi - Redis: increase memory limit 512Mi -> 1Gi (was 84 restarts) - Redis: increase maxmemory 400mb -> 800mb
This commit is contained in:
@@ -15,8 +15,10 @@ image:
|
|||||||
# Resource requests
|
# Resource requests
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 30m # Reduced for CPU optimization to allow CNPG join pod scheduling
|
cpu: 30m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
|
limits:
|
||||||
|
memory: 512Mi # Prevent OOM
|
||||||
|
|
||||||
# Falco configuration
|
# Falco configuration
|
||||||
falco:
|
falco:
|
||||||
@@ -117,9 +119,9 @@ falcosidekick:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 64Mi
|
memory: 128Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 256Mi # Prevent memory leak from accumulating events
|
memory: 512Mi # Increased to prevent OOM
|
||||||
|
|
||||||
config:
|
config:
|
||||||
# Output to stdout/logs
|
# Output to stdout/logs
|
||||||
@@ -168,11 +170,11 @@ falcosidekick:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 128Mi
|
memory: 256Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 1Gi # Increased from 512Mi to prevent OOM (84 restarts)
|
||||||
extraArgs:
|
extraArgs:
|
||||||
- "--maxmemory 400mb"
|
- "--maxmemory 800mb"
|
||||||
- "--maxmemory-policy allkeys-lru"
|
- "--maxmemory-policy allkeys-lru"
|
||||||
|
|
||||||
# Authentication disabled - using Authelia SSO
|
# Authentication disabled - using Authelia SSO
|
||||||
|
|||||||
Reference in New Issue
Block a user