I'm trying to implement a canary deploy strategy in my docker swarm. I want to create a secondary service and route traffic from the main service using weights. However in swarm mode, docker-flow-proxy is not using the serviceName label, instead is always using the service name provided in the stack file.
Description
I'm trying to implement a canary deploy strategy in my docker swarm. I want to create a secondary service and route traffic from the main service using weights. However in swarm mode, docker-flow-proxy is not using the serviceName label, instead is always using the service name provided in the stack file.
Steps to reproduce the issue: stack.yaml:
Describe the results you received: I get two services with no balancers working.
Describe the results you expected: I expect get one balancer sending request to both services.
Is there any way i can achieve the expected deployment?