# US 2023/0266997 A1 · Distributed scheduling in container orchestration engines

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0266997 A1
- Document ID: US20230266997A1
- Status: Published application
- Kind: A1
- Application number: 17/678,575
- Filed: 2022-02-23
- Published: 2023-08-24
- Earliest claimed: 2022-02-23
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Senthilnathan Natarajan; Praveen Jayachandran
- Web page: https://patentgrep.com/patent/US20230266997A1

## CPC

- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/5044: {considering hardware capabilities}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/505: {considering the load}
- G06F 2209/501: Performance criteria
- G06F 2209/502: Proximity
- G06F 2209/503: Resource availability
- G06F 2209/505: Clust
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and computer program products for distributed scheduling in container orchestration engines are provided herein. A computer-implemented method includes: configuring a plurality of entities of a container-based computing environment to perform a distributed scoring process, wherein, for a given one of the entities, the distributed scoring process comprises: (i) obtaining information corresponding to a plurality of workloads from a database that is accessible to the other entities, (ii) generating, based on the information, respective scores for at least a portion of the plurality of workloads, and (iii) publishing the generated scores to the database; and selecting, by a centralized scheduler of the container-based computing environment, at least one of the entities to host at least a given one of workloads based at least in part on the generated scores in the database.

## Claims

### Claim 1

A computer-implemented method, the method comprising:
configuring a plurality of entities of a container-based computing environment to perform a distributed scoring process, wherein, for a given one of the entities, the distributed scoring process comprises: (i) obtaining information corresponding to a plurality of workloads from a database that is accessible to the other entities, (ii) generating, based on the information, respective scores for at least a portion of the plurality of workloads, and (iii) publishing the generated scores to the database; and
selecting, by a centralized scheduler of the container-based computing environment, at least one of the entities to host at least a given one of workloads based at least in part on the generated scores in the database;
wherein the method is carried out by at least one computing device.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the information comprises at least one of: resource requirements and optimization objectives for the plurality of workloads.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the generating comprises applying a set of local rules to generate the respective scores.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the set of local rules is different for at least two entities of the plurality of entities.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the selecting is performed based at least in part on resources available at each of the plurality of entities, and wherein the method further comprises:
in response to the selecting, updating the resources available associated with the selected at least one entity.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, comprising:
creating a group of two or more of the plurality of workloads, wherein the selecting comprises selecting the at least one of the entities to host the group.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the respective scores are generated based at least in part on a number of scores that have been generated by one or more other entities for at least one of the plurality of workloads.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the respective scores are generated based on at least one of:
performance metrics associated with one or more of the entities;
location of a user with respect to one or more of the entities; and
availability of particular hardware at one or more of the entities.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the obtained information comprises a current state of at least one of the other entities.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the plurality of entities comprises a plurality of clusters of computing nodes, and wherein the method further comprises:
in response to the centralized scheduler selecting one of the clusters to host at least a given one of workloads, performing a second distributed scoring process among the computing nodes in the selected cluster.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein the centralized scheduler performs the selecting for each of the plurality of workloads, and wherein the method comprises:
executing the plurality of workloads on at least a portion of the plurality of entities in accordance with the selecting.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, wherein software is provided as a service in a cloud environment.

### Claim 13

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computing device to cause the computing device to:
configure a plurality of entities of a container-based computing environment to perform a distributed scoring process, wherein, for a given one of the entities, the distributed scoring process comprises: (i) obtaining information corresponding to a plurality of workloads from a database that is accessible to the other entities, (ii) generating, based on the information, respective scores for at least a portion of the plurality of workloads, and (iii) publishing the generated scores to the database; and
select, by a centralized scheduler of the container-based computing environment, at least one of the entities to host at least a given one of workloads based at least in part on the generated scores in the database.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the information comprises at least one of: resource requirements and optimization objectives for the plurality of workloads.

### Claim 15 (depends on 13)

The computer program product of claim 13, wherein the generating comprises applying a set of local rules to generate the respective scores.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the set of local rules is different for at least two entities of the plurality of entities.

### Claim 17 (depends on 13)

The computer program product of claim 13, wherein the selecting is performed based at least in part on resources available at each of the plurality of entities, and wherein the program instructions cause the computing device to:
in response to the selecting, update the resources available associated with the selected at least one entity.

### Claim 18 (depends on 13)

The computer program product of claim 13, wherein the program instructions cause the computing device to:
create a group of two or more of the plurality of workloads, wherein the selecting comprises selecting the at least one of the entities to host the group.

### Claim 19 (depends on 13)

The computer program product of claim 13, wherein the centralized scheduler performs the selecting for each of the plurality of workloads, and wherein the program instructions cause the computing device to:
execute the plurality of workloads on at least a portion of the plurality of entities in accordance with the selecting.

### Claim 20

A system comprising:
a memory configured to store program instructions;
a processor operatively coupled to the memory to execute the program instructions to:
configure a plurality of entities of a container-based computing environment to perform a distributed scoring process, wherein, for a given one of the entities, the distributed scoring process comprises: (i) obtaining information corresponding to a plurality of workloads from a database that is accessible to the other entities, (ii) generating, based on the information, respective scores for at least a portion of the plurality of workloads, and (iii) publishing the generated scores to the database; and
select, by a centralized scheduler of the container-based computing environment, at least one of the entities to host at least a given one of workloads based at least in part on the generated scores in the database.
