chore: update format
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user