Tune the proxy serviceEstimated reading time: 1 minute
This topic applies to Docker Enterprise.
The Docker Enterprise platform business, including products, customers, and employees, has been acquired by Mirantis, inc., effective 13-November-2019. For more information on the acquisition and how it may affect you and your business, refer to the Docker Enterprise Customer FAQ.
Constrain the proxy service to multiple dedicated worker nodes
Refer to Proxy service constraints for information on how to constrain the proxy service to multiple dedicated worker nodes.
To adjust the stop signal and period, use the
stop-grace-period settings. For example,
to set the stop signal to
SIGTERM and grace period to ten (10) seconds, use the following command:
$> docker service update --stop-signal=SIGTERM --stop-grace-period=10s interlock-proxy
In the event of an update failure, the default Swarm action is to “pause”. This prevents Interlock updates from happening
without operator intervention. You can change this behavior using the
update-failure-action setting. For example,
to automatically rollback to the previous configuration upon failure, use the following command:
$> docker service update --update-failure-action=rollback interlock-proxy
By default, Interlock configures the proxy service using rolling update. For more time between proxy
updates, such as to let a service settle, use the
update-delay setting. For example, if you want to have
thirty (30) seconds between updates, use the following command:
$> docker service update --update-delay=30s interlock-proxy