After docker is shutdown, the worker node  changes its status to Down, but availability remains at Active.

[解决方案]

  1. this is a docker issue, rather than a swarmkit issue.

  2. Try removing all nodes including manager(for manager:using docker swarm leave --force) from cluster & then again create a cluster with all old nodes.
    your services & all currant state of machines will remain the same.

     

注: 解决方案就是重新加入。如果还不行,就在manager机器上执行swarm leave (--force)来终止整个swarm, 然后重新创建swarm. 如果还有问题,只能重新创建虚机,然后重新创建swarm了。

posted on 2017-10-25 13:55  今夜太冷  阅读(252)  评论(0编辑  收藏  举报