我们有在两个应用服务器上运行的大量服务。当我们更新服务的映像时,通常会导致它无法同时部署到两个服务器上。
下面是输出,它已尝试更新16个小时,是否仍然可以看到错误日志或什么原因导致它无法正确部署?
docker service inspect --pretty myservice
ID: 6tvx7c9wjp49exv2ozpvvt8lq
Name: myapiservice-api
Labels:
com.df.distribute=true
com.df.notify=true
com.df.port=5002
com.df.serviceDomain=mysite.net
com.df.servicePath=/api-admin
Service Mode: Global
UpdateStatus:
State: **updating**
Started: 16 hours ago
Message: update in progress
Placement:
Constraints: [node.labels.type==appserver]
UpdateConfig:
Parallelism: 1
On failure: pause
Monitoring Period: 5s
Max failure ratio: 0
Update order: stop-first
RollbackConfig:
Parallelism: 1
On failure: pause
Monitoring Period: 5s
Max failure ratio: 0
Rollback order: stop-first
.....
Resources:
Networks: proxy
Endpoint Mode: vip