Open Yogu opened 8 years ago
In particular information about resource reservation via the API was present in the standalone Swarm and we are using it happily. We consider the lack of this information a regression and it is one of the reasons we cannot upgrade to swarmkit.
Services and thus tasks can have memory and cpu reservations attached. A task can then only be assigned to a node if it the right amount of memory and cpu shares is available. If there is no node matching these conditions, the task stays in allocated state.
It would be great to have more monitoring functionality regarding the available and allocated resources of the cluster. In an automated cloud envirionment, new nodes should be provisioned if the available resources do not suffice.
The following features would provide more insights:
docker serivice ps
about the unmet conditions (such as missing RAM)docker info
This should allow to answer the question "when to add more machines" in an automated setup in a simple yet acceptable way. What do you think?