kompose/script/test/fixtures/deploy/placement/compose-placement.yaml
TessaIO 497809c81c
chore: unify e2e tests to compose yaml (#1834)
* chore: unify e2e tests to compose yaml

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* chore: update tests_new.sh to reflect changes of files names

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2024-03-01 15:21:54 -05:00

17 lines
397 B
YAML

version: "3.3"
services:
redis:
image: redis
ports:
- "6379"
deploy:
placement:
constraints:
- node.hostname == machine
- engine.labels.operatingsystem == ubuntu 14.04
- node.labels.foo != bar
- baz != qux
preferences:
- spread: node.labels.zone
- spread: foo
- spread: node.labels.ssd