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
+6 -6
View File
@@ -21,10 +21,10 @@ services:
deploy:
resources:
limits:
cpus: ${KONG_DB_CPU_LIMIT:-1.00}
cpus: ${KONG_DB_CPU_LIMIT:-1.0}
memory: ${KONG_DB_MEMORY_LIMIT:-512M}
reservations:
cpus: ${KONG_DB_CPU_RESERVATION:-0.25}
cpus: ${KONG_DB_CPU_RESERVATION:-0.1}
memory: ${KONG_DB_MEMORY_RESERVATION:-128M}
healthcheck:
test: [CMD-SHELL, pg_isready -U kong]
@@ -83,10 +83,10 @@ services:
deploy:
resources:
limits:
cpus: ${KONG_CPU_LIMIT:-1.00}
cpus: ${KONG_CPU_LIMIT:-1.0}
memory: ${KONG_MEMORY_LIMIT:-1G}
reservations:
cpus: ${KONG_CPU_RESERVATION:-0.25}
cpus: ${KONG_CPU_RESERVATION:-0.1}
memory: ${KONG_MEMORY_RESERVATION:-256M}
healthcheck:
test: [CMD-SHELL, kong health]
@@ -113,10 +113,10 @@ services:
deploy:
resources:
limits:
cpus: ${KONGA_CPU_LIMIT:-0.50}
cpus: ${KONGA_CPU_LIMIT:-0.5}
memory: ${KONGA_MEMORY_LIMIT:-256M}
reservations:
cpus: ${KONGA_CPU_RESERVATION:-0.10}
cpus: ${KONGA_CPU_RESERVATION:-0.1}
memory: ${KONGA_MEMORY_RESERVATION:-64M}
profiles:
- gui