In correlation with the end of life (EOL) for MKE 3.4.x, maintenance of this documentation set was discontinued as of 2023-APR-11. Click here for the latest MKE 3.x version documentation.
Tune the proxy service¶
This topic describes how to tune various components of the proxy service.
Constrain the proxy service to multiple dedicated worker nodes:
<need-sme-instructions>
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