About docker's orchestra tool that can maximize utilization of server resources

121 views Asked by At

In order to make full use of server resources, I would like to consider the docker orchestra tool.

For example, there are three containers in the A server, but as long as there is room in the B server, it is only necessary to control such that one container is moved to the B server.

What is the term meaning such a function?

Can you use kubernetes, swarm, mesos, nomad like the above functions?

1

There are 1 answers

0
janisz On

Maximizing utilization is in general a NP-hard problem.

Mesos is a two step scheduler. Resources usage could be control by a framework. Mesos only present resources and it's on framework side to accept them or not. This means you can implement any algorithm to maximize utilization of cluster. What's more Mesos gives you oprtiunity to monitor slack resources and use them too with oversubscription.

In Kubernetes you also can plug your own scheduler. Kubernetes is one step scheduler but you can have multiple schedulers at once. See documentation for this: advanced scheduling in Kubernetes