Update iperf3/docker-compose.yml
Ensure that it runs on specific node in a cluster
This commit is contained in:
@@ -7,3 +7,7 @@ services:
|
|||||||
- '5201:5201/tcp'
|
- '5201:5201/tcp'
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
container_name: iperf3
|
container_name: iperf3
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.labels.iperf3 == here
|
||||||
|
|||||||
Reference in New Issue
Block a user