Initial import of the existing CephFS subvolume migration prototype, including the native libcephfs transport, rsync backend, local Ceph lab environment and integration tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
885 B
YAML
34 lines
885 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]
|
|
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'}
|