linkerd-examples icon indicating copy to clipboard operation
linkerd-examples copied to clipboard

Update docker-compose examples to use `version: '3'`

Open olix0r opened this issue 7 years ago • 1 comments

I am informed that version 3 of the docker-compose config is supported by Swarm. If we upgrade the docker example configs, maybe it will Just Work for Swarm?

olix0r avatar Feb 09 '17 17:02 olix0r

I have a similar question — it seems like docker-compose/-swarm is not really that well supported currently, or it's rough around the edges.

I setup the following: https://github.com/linkerd/linkerd-examples/tree/master/getting-started/docker

The example works (even with Swarm), kudos! 🎉 However, I am totally unsure how this would work in a more dynamic environment. E.g., if I scale up my hello service, then I need to adjust the disco/ files and re-deploy linkerd?

Or, I add consul to the mix and use consul-registrator: https://github.com/linkerd/linkerd-examples/tree/master/consul

Which didn't seem to work out of the box. (I have to add, so far, I have no experience running consul and registration looks stagnant.)

Is anyone using this successfully?

Given, that this is also a 1.x vs 2.x thing. I see lots of value in linkerd and we're not using k8s. I've been toying with the idea to write a small wrapper around Docker's /events to do really simple service discovery for the disco file. But I was also hoping someone had done this or would point me to some docs that I maybe didn't read write or missed.

till avatar Aug 17 '19 13:08 till