Management of compute resources for containers
AssigneeInternational Business Machines Corporation
InventorsZhan Peng Huo, Yu Zui You, Xiao Ling Chen, Heng Wang
Life of this patent
Estimating the term…
Abstract
Management of compute resources for containers includes obtaining first usage data associated with at least one container and obtaining a set of threshold parameters. A system compares the first usage data with the set of threshold parameters. The system detects a first anomaly associated with a usage of the one or more compute resources by the at least one container. The system also determines a first set of allocation parameters associated with the at least one container. The system also generates a first allocation command for allocating the one or more compute resources to the at least one container.
Claims20
A computer-implemented method, comprising:
- obtaining, by a computer, first usage data associated with at least one container, wherein the obtained first usage data indicates a usage level of each compute resource of one or more compute resources by the at least one container;
- obtaining, by the computer, a set of threshold parameters associated with the at least one container, wherein the set of threshold parameters is obtained based on the obtained first usage data, and wherein the set of threshold parameters corresponds to acceptable usage level of each compute resource of the one or more compute resources by the at least one container;
- comparing, by the computer, the obtained first usage data with the obtained set of threshold parameters;
- detecting, by the computer, a first anomaly associated with a usage of the one or more compute resources by the at least one container, wherein the first anomaly is detected based on the comparison of the obtained first usage data with the obtained set of threshold parameters;
- determining, by the computer, a first set of allocation parameters associated with the at least one container based on the obtained first usage data and the detected first anomaly;
- and
- generating, by the computer, a first allocation command for allocating the one or more compute resources to the at least one container, wherein the first allocation command is generated based on the determined first set of allocation parameters.
A computer system, comprising:
- a processor set;
- one or more computer-readable storage media;
- and
- program instructions stored on the one or more computer-readable storage media, the program instructions executable by the processor set to cause the processor set to:
- obtain first usage data associated with at least one container, wherein the obtained first usage data indicates a usage level of each compute resource of one or more compute resources by the at least one container;
- obtain a set of threshold parameters associated with the at least one container, wherein the set of threshold parameters is obtained based on the obtained first usage data, and wherein the set of threshold parameters corresponds to acceptable usage level of each compute resource of the one or more compute resources by the at least one container;
- compare the obtained first usage data with the obtained set of threshold parameters;
- detect a first anomaly associated with a usage of the one or more compute resources by the at least one container, wherein the first anomaly is detected based on the comparison of the obtained first usage data with the obtained set of threshold parameters;
- determine a first set of allocation parameters associated with the at least one container based on the obtained first usage data and the detected first anomaly;
- generate a first allocation command to allocate the one or more compute resources to the at least one container, wherein the first allocation command is generated based on the determined first set of allocation parameters;
- and
- allocate the one or more compute resources to the at least one container to resolve the first anomaly, wherein the one or more compute resources are allocated based on the generated first allocation command.
A computer program product for managing one or more compute resources for at least one container, the computer program product comprising:
- one or more computer-readable storage media;
- and
- program instructions stored on the one or more computer-readable storage media to perform operations comprising:
- obtaining first usage data associated with the at least one container, wherein the obtained first usage data indicates a usage level of each compute resource of the one or more compute resources by the at least one container;
- obtaining a set of threshold parameters associated with the at least one container, wherein the set of threshold parameters is obtained based on the obtained first usage data, and wherein the set of threshold parameters corresponds to acceptable usage level of each compute resource of the one or more compute resources by the at least one container;
- comparing the obtained first usage data with the obtained set of threshold parameters;
- detecting a first anomaly associated with a usage of the one or more compute resources by the at least one container, wherein the first anomaly is detected based on the comparison of the obtained first usage data with the obtained set of threshold parameters;
- determining a first set of allocation parameters associated with the at least one container based on the obtained first usage data and the detected first anomaly;
- and
- generating a first allocation command based on the determined first set of allocation parameters, wherein the first allocation command is generated to allocate the one or more compute resources to the at least one container.
Dependencies are inferred from the claim text.