WORKERS sets the copier workers (default 8). The driver no longer removes the mount field, which the configuration does not have anymore. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
998 B
YAML
38 lines
998 B
YAML
# Always run with -p cephmig-million; its volumes are separate from cephmig-dev.
|
|
services:
|
|
source:
|
|
environment:
|
|
CEPHMIG_OSD_GIB: "24"
|
|
CEPHMIG_MDS_CACHE_BYTES: "805306368"
|
|
target:
|
|
environment:
|
|
CEPHMIG_OSD_GIB: "24"
|
|
CEPHMIG_MDS_CACHE_BYTES: "805306368"
|
|
client:
|
|
profiles: [fuse]
|
|
native:
|
|
profiles: [manual]
|
|
benchmark:
|
|
image: cephmig-native:dev
|
|
init: true
|
|
entrypoint: [python3, -u, /lab/million.py]
|
|
environment:
|
|
FILES: ${FILES:-1000000}
|
|
RUN_LABEL: ${RUN_LABEL:-main}
|
|
WORKERS: ${WORKERS:-8}
|
|
networks: [lab]
|
|
depends_on:
|
|
source: {condition: service_healthy}
|
|
target: {condition: service_healthy}
|
|
mem_limit: 2g
|
|
stop_grace_period: 45s
|
|
volumes:
|
|
- source-config:/clusters/source:ro
|
|
- target-config:/clusters/target:ro
|
|
- ./:/lab:ro
|
|
- migration-state:/state
|
|
- ../.dev/million:/report
|
|
logging:
|
|
driver: json-file
|
|
options: {max-size: 10m, max-file: '2'}
|