# US 2021/0081265 A1 · Intelligent cluster auto-scaler

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

- Number: US 2021/0081265 A1
- Document ID: US20210081265A1
- Status: Published application
- Kind: A1
- Application number: 16/568,979
- Filed: 2019-09-12
- Published: 2021-03-18
- Earliest claimed: 2019-09-12
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Natesh H Mariyappa; Mohammed Omar; Raghavendra Rao Dhayapule
- Web page: https://patentgrep.com/patent/US20210081265A1

## CPC

- G06F 9/5072: {Grid computing}
- G06F 11/079: {Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36)}
- G06F 11/0709: {in a distributed system consisting of a plurality of standalone computer nodes, e.g. clusters, client-server systems}
- G06F 11/3409: {for performance assessment}
- G06F 11/3442: {for planning or managing the needed capacity}
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method, system, and computer program product to develop intelligent auto-scalers to determine root causes of applications running on a cluster, where the method may include identifying one or more resource problems within a cluster. The method may also include identifying one or more problematic pods that have the one or more resource problems. The method may also include analyzing the one or more resource problems. The method may also include determining an actual root cause of the one or more problematic pods based on the analyzing. Determining the actual root cause may include analyzing data collected from multiple data sources, where the multiple data sources include at least one of: logs, an RCA database, and investigation of resources. The method may also include determining a fix method for the actual root cause. The method may also include applying the fix method to the one or more problematic pods.

## Claims

### Claim 1

A computer-implemented method comprising:
identifying one or more resource problems within a cluster;
identifying one or more problematic pods that have the one or more resource problems;
analyzing the one or more resource problems;
determining an actual root cause of the one or more problematic pods based on the analyzing, wherein determining the actual root cause comprises:
analyzing data collected from multiple data sources, wherein the multiple data sources comprise at least one of: logs, an RCA database, and investigation of resources;
determining a fix method for the actual root cause; and
applying the fix method to the one or more problematic pods.

### Claim 2 (depends on 1)

The method of claim 1, wherein identifying the one or more problematic pods comprises flagging the one or more problematic pods for a user.

### Claim 3 (depends on 1)

The method of claim 1, wherein the analyzing the one or more resource problems comprises:
analyzing one or more resources used for one or more pods within the cluster; and
identifying one or more metrics problems for at least one of the one or more resources.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining the actual root cause of the one or more problematic pods comprises predicting the root cause of the one or more resource problems.

### Claim 5 (depends on 4)

The method of claim 4, wherein predicting the root cause comprises:
collecting past metrics, wherein the past metrics are metrics from a first time period;
building a machine learning algorithm based on the past metrics;
collecting current metrics, wherein the current metrics are metrics from a current time period, the current time period subsequent to the first time period;
training the machine learning algorithm based on the past metrics and the current metrics; and
predicting the root cause based on the past metrics and the current metrics.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
determining that the actual root cause is different from the one or more predicted root causes; and
in response to determining that the actual root cause is different from the one or more predicted root causes, retraining the machine learning algorithm model with the actual root cause.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
determining that the actual root cause is the same as the one or more predicted root causes; and
in response to determining that the actual root cause is the same as the one or more predicted root causes, adding the one or more predicted root causes to the machine learning algorithm.

### Claim 8 (depends on 5)

The method of claim 5, wherein collecting the past metrics comprises:
retrieving one or more application metrics; and
receiving one or more dependent services metrics.

### Claim 9 (depends on 5)

The method of claim 5, wherein training the machine learning algorithm based on the past metrics and the current metrics comprises building a training set.

### Claim 10 (depends on 9)

The method of claim 9, wherein building the training set comprises maintaining a data structure that maps the actual root cause, the predicted root cause, and one or more training set files.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
transmitting results of the determining the actual root cause to a user.

### Claim 12

A system having one or more computer processors, the system configured to:
identify one or more resource problems within a cluster;
identify one or more problematic pods having the one or more resource problems;
analyze the one or more resource problems;
determine an actual root cause of the one or more problematic pods based on the analyzing, wherein determining the actual root cause comprises:
analyze data collected from multiple data sources, wherein the multiple data sources comprise at least one of: logs, an RCA database, and investigation of resources; determine a fix method for the actual root cause; and
apply the fix method to the one or more problematic pods.

### Claim 13 (depends on 12)

The system of claim 12, wherein the analyzing the one or more resource problems comprises:
analyzing one or more resources used for one or more pods within the cluster; and
identifying one or more metrics problems for at least one of the one or more resources.

### Claim 14 (depends on 12)

The system of claim 12, wherein determining the actual root cause of the one or more problematic pods comprises predicting the root cause of the one or more resource problems.

### Claim 15 (depends on 14)

The system of claim 14, wherein predicting the root cause comprises:
collecting past metrics, wherein the past metrics are metrics from a first time period;
building a machine learning algorithm based on the past metrics;
collecting current metrics, wherein the current metrics are metrics from a current time period, the current time period subsequent to the first time period;
training the machine learning algorithm based on the past metrics and the current metrics; and
predicting the root cause based on the past metrics and the current metrics.

### Claim 16 (depends on 14)

The system of claim 14, further comprising:
determining that the actual root cause is different from the one or more predicted root causes; and
in response to determining that the actual root cause is different from the one or more predicted root causes, retraining the machine learning algorithm model with the actual root cause.

### Claim 17

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a server to cause the server to perform a method, the method comprising:
identifying one or more resource problems within a cluster;
identifying one or more problematic pods having the one or more resource problems;
analyzing the one or more resource problems;
determining an actual root cause of the one or more problematic pods based on the analyzing, wherein determining the actual root cause comprises:
analyzing data collected from multiple data sources, wherein the multiple data sources comprise at least one of: logs, an RCA database, and investigation of resources;
determining a fix method for the actual root cause; and
applying the fix method to the one or more problematic pods.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the analyzing the one or more resource problems comprises:
analyzing one or more resources used for one or more pods within the cluster; and
identifying one or more metrics problems for at least one of the one or more resources.

### Claim 19 (depends on 17)

The computer program product of claim 17, wherein determining the actual root cause of the one or more problematic pods comprises predicting the root cause of the one or more resource problems.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein predicting the root cause comprises:
collecting past metrics, wherein the past metrics are metrics from a first time period;
building a machine learning algorithm based on the past metrics;
collecting current metrics, wherein the current metrics are metrics from a current time period, the current time period subsequent to the first time period;
training the machine learning algorithm based on the past metrics and the current metrics; and
predicting the root cause based on the past metrics and the current metrics.
