mesh icon indicating copy to clipboard operation
mesh copied to clipboard

Support for Docker Swarm

Open till opened this issue 6 years ago • 2 comments

Proposal

I'd like to use Maesh on Docker Swarm.

Background

Been shopping around for a service mesh for Docker Swarm for long. We've tried linkerd and related, but e.g. Swarm support is not officially there. To get it working, it requires more components (like consul) to register services with the mesh to be able to use it. It doesn't use the Swarm APIs (like Traefik).

With the advent of all kinds of protocols in Traefik 2, I was hoping this was more likely to be implemented.

Workarounds

I have a work-around for HTTP only services (with Traefik 1.0) responding to "internal domains", and then routing requests accordingly. This is, not because Docker Swarm doesn't work, but to have more visibility into our setups. It's all hacky, and less than ideal.

Details on how I did this are here: https://docs.docker.com/network/overlay/#bypass-the-routing-mesh-for-a-swarm-service

till avatar Sep 20 '19 17:09 till

I also want to support nomad.

chenjpu avatar Oct 29 '19 18:10 chenjpu

Hello

Found that issue looking for a mesh experience on docker swarm I think it's complicated for now, because maesh add a wildcard dns trick on coreDNS for k8s. If we want to implement that in swarm, we have to deploy a DNS-like service and tell the containers to resolv on that

WTFKr0 avatar Nov 21 '19 10:11 WTFKr0