mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
* feat: auto-provision volumes on all machines for global services * fix: schedule global service volumes only on machines that need them * fix: use union of eligible machines for volumes shared by global services * test: restore global with missing volume fails test * refactor: simplify volume scheduler by removing redundant check Move isVolumeSharedBetweenGlobalAndReplicated check earlier to fail fast, then use isVolumeForGlobalService instead of the now-redundant isVolumeOnlyForGlobalServices function.
11 lines
199 B
YAML
11 lines
199 B
YAML
services:
|
|
test-compose-global-volume:
|
|
image: portainer/pause:latest
|
|
deploy:
|
|
mode: global
|
|
volumes:
|
|
- test-compose-global-volume:/data
|
|
|
|
volumes:
|
|
test-compose-global-volume:
|