Patent attributes
Technical solutions are described for assigning containers for executing functions in a software application using a server cluster that uses functions as a service architecture. An example method includes creating, by a global scheduler of the server cluster, a first container at a first host node in the server cluster for executing a first function from the software application. The method further includes intercepting, by an in-node scheduler of the first host node, a command from the first function for creating a second container for executing a second function. The method further includes assigning, by the in-node scheduler, an in-node container as the second container, the in-node container being a container executing on the first host node. The method further includes updating, by the in-node scheduler, a resource database that indicates that the second function is being executed in the in-node container on the first host node.