linuxkit: Docker routing mesh not working on GCP

When running a two nodes configuration on GCP, with Moby based on Kernel 4.9, the routing mesh doesn’t work correctly.

Expected

  • Create two nodes on GCP. One is the manager the other the worker.
  • Create a network with docker network create --driver overlay test
  • Create a service with docker service create --name sw -p 5000:5000 --network test mrjana/simpleweb simpleweb
  • Scale the service on both nodes with docker service scale sw=2

From the manager, curl manager:5000 should work and should get an answer in alternate from the task running locally and the task running on the worker.

From the manager, curl worker:5000 should work and should get an answer in alternate from the task running locally and the task running on the worker.

Actual

From the manager, curl worker:5000 we have an alternate of responses from the remote task and timeout error when trying to talk to the local task

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 23 (21 by maintainers)

Most upvoted comments

Patch got merged into davidm’s net tree and marked queued up for -stable.