Tune the proxy service¶
To tune the various proxy service components:
Constrain the proxy service to multiple dedicated worker nodes. For detailed information, refer to Configure layer 7 routing for production.
Adjust the stop signal and grace period, for example, to
SIGTERM
for the stop signal and ten seconds for the grace period:docker service update --stop-signal=SIGTERM \ --stop-grace-period=10s interlock-proxy
Change the action that Swarm takes when an update fails using
update-failure-action
(the default ispause
), for example, to rollback to the previous configuration:docker service update --update-failure-action=rollback \ interlock-proxy
Change the amount of time between proxy updates using
update-delay
(the default is to use rolling updates), for example, setting the delay to thirty seconds:docker service update --update-delay=30s interlock-proxy