feat: all cpus reservations to 0.1

This commit is contained in:
Sun-ZhenXing
2026-05-14 16:22:07 +08:00
parent 453a3eab11
commit 53b841926e
274 changed files with 828 additions and 828 deletions
+3 -3
View File
@@ -24,7 +24,7 @@ EASYTIER_UDP_PORT_OVERRIDE=11010
EASYTIER_RPC_PORT_OVERRIDE=15888
# Resource limits
EASYTIER_CPU_LIMIT=0.50
EASYTIER_CPU_LIMIT=0.5
EASYTIER_MEMORY_LIMIT=128M
EASYTIER_CPU_RESERVATION=0.10
EASYTIER_MEMORY_RESERVATION=32M
EASYTIER_CPU_RESERVATION=0.1
EASYTIER_MEMORY_RESERVATION=32M
+3 -3
View File
@@ -33,13 +33,13 @@ services:
deploy:
resources:
limits:
cpus: ${EASYTIER_CPU_LIMIT:-0.50}
cpus: ${EASYTIER_CPU_LIMIT:-0.5}
memory: ${EASYTIER_MEMORY_LIMIT:-128M}
reservations:
cpus: ${EASYTIER_CPU_RESERVATION:-0.10}
cpus: ${EASYTIER_CPU_RESERVATION:-0.1}
memory: ${EASYTIER_MEMORY_RESERVATION:-32M}
healthcheck:
test: ['CMD', 'easytier-cli', '-p', '127.0.0.1:15888', 'node', 'info']
test: [CMD, easytier-cli, -p, '127.0.0.1:15888', node, info]
interval: 30s
timeout: 10s
retries: 3