From ca9775e4aa78d2189b29aae6a2df162d444c425f Mon Sep 17 00:00:00 2001 From: Trapier Marshall Date: Thu, 23 Aug 2018 17:41:54 -0400 Subject: [PATCH] interlock: augment proxy constraint procedure differentiate between running proxy constraints and core config --- ee/ucp/interlock/deploy/production.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ee/ucp/interlock/deploy/production.md b/ee/ucp/interlock/deploy/production.md index fb17de7a92..228701b1ae 100644 --- a/ee/ucp/interlock/deploy/production.md +++ b/ee/ucp/interlock/deploy/production.md @@ -52,10 +52,19 @@ The command should print "loadbalancer". ## Configure the ucp-interlock service -Now that your nodes are labelled, you need to update the `ucp-interlock` +Now that your nodes are labelled, you need to update the `ucp-interlock-proxy` service configuration to deploy the proxy service with the correct constraints. -Add another constraint to the `ProxyConstraints` array: +Add a constraint to the `ucp-interlock-proxy` service to update the running service: + +```bash +docker service update \ + --constraint-add node.labels.nodetype==loadbalancer \ + ucp-interlock-proxy +``` + +Then add the constraint to the `ProxyConstraints` array in the `interlock-proxy` service +configuration so it takes effect if Interlock is restored from backup: ```toml [Extensions] @@ -65,16 +74,7 @@ Add another constraint to the `ProxyConstraints` array: [Learn how to configure ucp-interlock](configure.md). -> Known issue -> -> In UCP 3.0.0 the `ucp-interlock` service won't redeploy the proxy replicas -> when you update the configuration. As a workaround, -> [deploy a demo service](../usage/index.md). Once you do that, the proxy -services are redeployed and scheduled on the correct nodes. -{: .important} - -Once you reconfigure the `ucp-interlock` service, you can check if the proxy -service is running on the dedicated nodes: +Once reconfigured you can check if the proxy service is running on the dedicated nodes: ```bash docker service ps ucp-interlock-proxy