2019-10-23 18:16:35 -04:00
|
|
|
id: 02_bar
|
|
|
|
name: bar
|
|
|
|
mode: replicated
|
|
|
|
replicas: 2/4
|
|
|
|
image:
|
|
|
|
ports: *:80->8090/udp
|
|
|
|
|
|
|
|
id: 01_baz
|
2017-09-07 17:50:44 -04:00
|
|
|
name: baz
|
|
|
|
mode: global
|
2019-10-23 18:16:35 -04:00
|
|
|
replicas: 1/3
|
2017-09-07 17:50:44 -04:00
|
|
|
image:
|
|
|
|
ports: *:80->8080/tcp
|
|
|
|
|
2019-10-23 18:16:35 -04:00
|
|
|
id: 04_qux2
|
|
|
|
name: qux2
|
2017-09-07 17:50:44 -04:00
|
|
|
mode: replicated
|
2019-10-23 18:16:35 -04:00
|
|
|
replicas: 3/3 (max 2 per node)
|
2017-09-07 17:50:44 -04:00
|
|
|
image:
|
2019-10-23 18:16:35 -04:00
|
|
|
ports:
|
|
|
|
|
|
|
|
id: 03_qux10
|
|
|
|
name: qux10
|
|
|
|
mode: replicated
|
|
|
|
replicas: 2/3 (max 1 per node)
|
|
|
|
image:
|
|
|
|
ports:
|
2017-09-07 17:50:44 -04:00
|
|
|
|