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
+5 -5
View File
@@ -35,8 +35,8 @@ TZ=UTC
# ==================== Resource Limits (FE) ====================
# FE CPU limits
# DORIS_FE_CPU_LIMIT=1.00
# DORIS_FE_CPU_RESERVATION=0.50
# DORIS_FE_CPU_LIMIT=1.0
# DORIS_FE_CPU_RESERVATION=0.1
# FE Memory limits
# DORIS_FE_MEMORY_LIMIT=2G
@@ -45,9 +45,9 @@ TZ=UTC
# ==================== Resource Limits (BE) ====================
# BE CPU limits
# DORIS_BE_CPU_LIMIT=2.00
# DORIS_BE_CPU_RESERVATION=1.00
# DORIS_BE_CPU_LIMIT=2.0
# DORIS_BE_CPU_RESERVATION=0.1
# BE Memory limits
# DORIS_BE_MEMORY_LIMIT=4G
# DORIS_BE_MEMORY_RESERVATION=2G
# DORIS_BE_MEMORY_RESERVATION=2G
+4 -4
View File
@@ -36,10 +36,10 @@ services:
deploy:
resources:
limits:
cpus: ${DORIS_FE_CPU_LIMIT:-1.00}
cpus: ${DORIS_FE_CPU_LIMIT:-1.0}
memory: ${DORIS_FE_MEMORY_LIMIT:-2G}
reservations:
cpus: ${DORIS_FE_CPU_RESERVATION:-0.50}
cpus: ${DORIS_FE_CPU_RESERVATION:-0.1}
memory: ${DORIS_FE_MEMORY_RESERVATION:-1G}
# Doris Backend (BE) node
@@ -68,10 +68,10 @@ services:
deploy:
resources:
limits:
cpus: ${DORIS_BE_CPU_LIMIT:-2.00}
cpus: ${DORIS_BE_CPU_LIMIT:-2.0}
memory: ${DORIS_BE_MEMORY_LIMIT:-4G}
reservations:
cpus: ${DORIS_BE_CPU_RESERVATION:-1.00}
cpus: ${DORIS_BE_CPU_RESERVATION:-0.1}
memory: ${DORIS_BE_MEMORY_RESERVATION:-2G}
volumes: