Skip to content

Commit 58ae6fb

Browse files
author
paigehargrave
authored
Interlock fix (docker#8902)
* Removed service-labels (moved info to labels-reference)
1 parent 5e90682 commit 58ae6fb

File tree

3 files changed

+19
-46
lines changed

3 files changed

+19
-46
lines changed

_data/toc.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -1331,8 +1331,6 @@ manuals:
13311331
path: /ee/ucp/interlock/config/host-mode-networking/
13321332
- title: Configuring an nginx extension
13331333
path: /ee/ucp/interlock/config/nginx-config/
1334-
- title: Using application service labels
1335-
path: /ee/ucp/interlock/config/service-labels/
13361334
- title: Tuning the proxy service
13371335
path: /ee/ucp/interlock/config/tuning/
13381336
- title: Updating Interlock services

ee/ucp/interlock/config/service-labels.md

-43
This file was deleted.

ee/ucp/interlock/usage/labels-reference.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,30 @@
22
title: Use layer 7 routing labels
33
description: Learn about the labels you can use in your swarm services to route
44
layer 7 traffic.
5-
keywords: routing, proxy
5+
redirect_from:
6+
- /ee/ucp/interlock/config/service-labels/
7+
keywords: routing, proxy, interlock, load balancing
68
---
79

810
After you enable the layer 7 routing solution, you can
911
[start using it in your swarm services](index.md).
1012

13+
Service labels define hostnames that are routed to the
14+
service, the applicable ports, and other routing configurations. Applications that publish using Interlock use service labels to configure how they are published.
15+
16+
When you deploy or update a swarm service with service labels, the following actions occur:
17+
18+
1. The `ucp-interlock` service monitors the Docker API for events and
19+
publishes the events to the `ucp-interlock-extension` service.
20+
2. That service then generates a new configuration for the proxy service,
21+
based on the labels you added to your services.
22+
3. The `ucp-interlock` service takes the new configuration and reconfigures the
23+
`ucp-interlock-proxy` to start using the new configuration.
24+
25+
The previous steps occur in milliseconds and with rolling updates. Even though
26+
services are being reconfigured, users won't notice it.
27+
28+
## Service label options
1129

1230
| Label | Description | Example |
1331
|:---------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------|

0 commit comments

Comments
 (0)