chore: update format

This commit is contained in:
Sun-ZhenXing
2025-11-10 19:55:44 +08:00
parent febd1601a2
commit 42aa5c40d6
92 changed files with 660 additions and 613 deletions

View File

@@ -27,11 +27,11 @@ services:
deploy:
resources:
limits:
cpus: '1.0'
memory: 1G
cpus: ${TIKV_PD_CPU_LIMIT:-1.0}
memory: ${TIKV_PD_MEMORY_LIMIT:-1G}
reservations:
cpus: '0.25'
memory: 512M
cpus: ${TIKV_PD_CPU_RESERVATION:-0.25}
memory: ${TIKV_PD_MEMORY_RESERVATION:-512M}
healthcheck:
test: ["CMD-SHELL", "wget -q -O - http://localhost:2379/health || exit 1"]
interval: 30s
@@ -63,11 +63,11 @@ services:
deploy:
resources:
limits:
cpus: '2.0'
memory: 4G
cpus: ${TIKV_CPU_LIMIT:-2.0}
memory: ${TIKV_MEMORY_LIMIT:-4G}
reservations:
cpus: '0.5'
memory: 2G
cpus: ${TIKV_CPU_RESERVATION:-0.5}
memory: ${TIKV_MEMORY_RESERVATION:-2G}
healthcheck:
test: ["CMD-SHELL", "wget -q -O - http://localhost:20180/status || exit 1"]
interval: 30s