fix(observability): reserve memory headroom for telemetry services
This commit is contained in:
+9
-4
@@ -318,8 +318,10 @@ services:
|
||||
volumes:
|
||||
- ./infra/otel/collector.yaml:/etc/otel/config.yaml:ro
|
||||
cpus: 0.5
|
||||
mem_limit: 256m
|
||||
memswap_limit: 256m
|
||||
mem_limit: 384m
|
||||
memswap_limit: 384m
|
||||
environment:
|
||||
GOMEMLIMIT: 224MiB
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:rw,noexec,nosuid,size=32m
|
||||
@@ -385,8 +387,10 @@ services:
|
||||
- ./infra/otel/tempo.yaml:/etc/tempo/config.yaml:ro
|
||||
- tempo_data:/var/tempo
|
||||
cpus: 0.5
|
||||
mem_limit: 512m
|
||||
memswap_limit: 512m
|
||||
mem_limit: 768m
|
||||
memswap_limit: 768m
|
||||
environment:
|
||||
GOMEMLIMIT: 384MiB
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:rw,noexec,nosuid,size=32m
|
||||
@@ -428,6 +432,7 @@ services:
|
||||
GF_ANALYTICS_CHECK_FOR_PLUGIN_UPDATES: 'false'
|
||||
GF_PLUGINS_PREINSTALL_DISABLED: 'true'
|
||||
GF_LOG_LEVEL: warn
|
||||
GOMEMLIMIT: 256MiB
|
||||
secrets:
|
||||
- grafana_password
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user