主权项 |
1. A computer-implemented method for allocating computer resources, the computer-implemented method comprising:
selecting, by a master node, a CPU core of at least one computer node from a Linux computer cluster, for an application; allocating, by the master node, a first portion of a resource of the CPU core to the application based on a Cgroup; and in response to receiving, by the master node, a trigger event for re-allocation, re-allocating, by the master node, the first portion of the resource of the CPU core to a second portion of the resource of the CPU core to the application based on a Cgroup. |