最佳答案
这意味着任务已分配给一个节点,但该节点尚未接受它。
Tasks run through the allocator, which allocate resources such as network attachments which are necessary for the tasks to run. When the allocator has processed a task, it moves the task to the PENDING state.
The scheduler takes PENDING tasks and assigns them to nodes (or verifies that the requested node has the necessary resources, in the case of global services' tasks). It changes their state to ASSIGNED.
From this point, control over the state passes to the agent. A task will progress through the ACCEPTED, PREPARING, READY, and STARTING states on the way to RUNNING. If a task exits without an error code, it moves to the COMPLETE state. If it fails, it moves to the FAILED state instead.
https://github.com/docker/swarmkit/blob/master/design/task_model.md#task-lifecycle
关于Docker Swarm 模式 : what does mean the status "Assigned"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47906380/