A method, node and computer program for a resource controller node for enabling automatic adaptation of the size of a pool of resource units, the resource units needed for operation of an application in a computer environment.