Docker Community Forums

Share and learn in the Docker community.

What happens if a node dies


(Daniel Lauzon) #1

What is supposed to happen when a node dies.
Will docker-cloud spin up another node instance?

Example:

  • I spin up a cluster with two nodes on AWS
  • Deploy some services to it. (some containers get deployed to both nodes).
  • Then I use the aws console to terminate one of the cluster nodes.

Docker Cloud (both api and console) still report: “state”: “Deployed”

I have also invoked the health-check endpoint,

POST /api/infra/v1/[optional_namespace/]node/(uuid)/health-check/

but it does not seem to have any effect.
The docs say the node should be put in an ‘Unreachable’ state