May 2017
Intermediate to advanced
436 pages
9h 44m
English
Since swarm-listener is monitoring docker services, if a service is removed, related entries in the proxy configuration will be removed as well:
docker service rm go-demo
If you were to check the Swarm Listener logs in the same way you would check logs for any other container service, you'd see an entry similar to the one that follows:
Sending service removed notification to http://proxy:8080/v1/docker-flow-proxy/remove?serviceName=go-demo
A moment later, a new entry would appear in the proxy logs:
Processing request /v1/docker-flow-proxy/remove?serviceName=go-demoProcessing remove request /v1/docker-flow-proxy/removeRemoving go-demo configurationRemoving the go-demo configuration filesReloading the ...Read now
Unlock full access