feat: all cpus reservations to 0.1
This commit is contained in:
@@ -89,9 +89,9 @@ DASHSCOPE_API_KEY=
|
||||
#! ==================================================
|
||||
|
||||
# CPU limits (default: 4.00 cores limit, 1.00 cores reservation)
|
||||
DEEPTUTOR_CPU_LIMIT=4.00
|
||||
DEEPTUTOR_CPU_RESERVATION=1.00
|
||||
DEEPTUTOR_CPU_LIMIT=4.0
|
||||
DEEPTUTOR_CPU_RESERVATION=0.1
|
||||
|
||||
# Memory limits (default: 8G limit, 2G reservation)
|
||||
DEEPTUTOR_MEMORY_LIMIT=8G
|
||||
DEEPTUTOR_MEMORY_RESERVATION=2G
|
||||
DEEPTUTOR_MEMORY_RESERVATION=2G
|
||||
@@ -57,10 +57,10 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: ${DEEPTUTOR_CPU_LIMIT:-4.00}
|
||||
cpus: ${DEEPTUTOR_CPU_LIMIT:-4.0}
|
||||
memory: ${DEEPTUTOR_MEMORY_LIMIT:-8G}
|
||||
reservations:
|
||||
cpus: ${DEEPTUTOR_CPU_RESERVATION:-1.00}
|
||||
cpus: ${DEEPTUTOR_CPU_RESERVATION:-0.1}
|
||||
memory: ${DEEPTUTOR_MEMORY_RESERVATION:-2G}
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user