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
@@ -28,10 +28,10 @@ x-valkey-node: &valkey-node
deploy:
resources:
limits:
cpus: ${VALKEY_CLUSTER_CPU_LIMIT:-0.50}
cpus: ${VALKEY_CLUSTER_CPU_LIMIT:-0.5}
memory: ${VALKEY_CLUSTER_MEMORY_LIMIT:-512M}
reservations:
cpus: ${VALKEY_CLUSTER_CPU_RESERVATION:-0.25}
cpus: ${VALKEY_CLUSTER_CPU_RESERVATION:-0.1}
memory: ${VALKEY_CLUSTER_MEMORY_RESERVATION:-256M}
healthcheck:
test: [CMD, valkey-cli, -a, '${VALKEY_PASSWORD:-passw0rd}', ping]
@@ -125,7 +125,7 @@ services:
deploy:
resources:
limits:
cpus: ${VALKEY_CLUSTER_INIT_CPU_LIMIT:-0.10}
cpus: ${VALKEY_CLUSTER_INIT_CPU_LIMIT:-0.1}
memory: ${VALKEY_CLUSTER_INIT_MEMORY_LIMIT:-128M}
volumes: