Tolto di default il vincolo del nodo specifico.

master
Andrea Dell'Amico 2 years ago
parent a51a329fbd
commit a9ddbe5c9c
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF

@ -10,6 +10,7 @@ epas_teleworker_docker_network: 'epas_teleworker_net'
epas_teleworker_docker_attachments_node: 'docker-exec2'
epas_teleworker_attachments_node: 'localhost'
epas_teleworker_attachments_volume: 'epas_teleworker_attachments_data'
epas_teleworker_run_on_fixed_node: false
epas_teleworker_node_constraints: 'node.labels.epas_teleworker_storage == attachments'
epas_teleworker_behind_haproxy: True
epas_teleworker_haproxy_public_net: 'haproxy-public'

@ -40,7 +40,9 @@ services:
placement:
constraints:
- node.role == worker
{% epas_teleworker_run_on_fixed_node %}
- {{ epas_teleworker_node_constraints }}
{% endif %}
restart_policy:
condition: on-failure
delay: 5s

Loading…
Cancel
Save