Detection and cleanup of unused microservices
AssigneeRed Hat, Inc.
InventorAlissa Bonas
Life of this patent
Estimating the term…
Abstract
Systems and methods for detection and cleanup of unused microservices. An example method comprises: identifying, by a processing device, a microservice in a running state; identifying a network proxy associated with the microservice; monitoring traffic between the network proxy and the network; determining that the network proxy has no traffic with the network during a window, wherein the window is a predetermined period of time or a predetermined amount of data that is sent to or from the network; and deleting the microservice and the network proxy.
Claims20
A method comprising:
- identifying, by a processing device, a microservice in a running state;
- identifying a network proxy associated with the microservice;
- monitoring network traffic associated with the network proxy;
- determining that the network proxy has no traffic within a detection window;
- and
- deleting the microservice, the network proxy, and a container image associated with the microservice.
A system comprising:
- a memory;
- a processing device operatively coupled to the memory, the processing device to:
- identify a microservice in a running state;
- identify a network proxy associated with the microservice;
- monitor network traffic associated with the network proxy;
- determine that the network proxy has no traffic within a detection window;
- and
- delete the microservice, the network proxy, and a container image associated with the microservice.
A non-transitory computer-readable storage medium comprising executable instructions that, when executed by a processing device, cause the processing device to:
- identify a microservice in a running state;
- identify a network proxy associated with the microservice;
- monitor network traffic associated with the network proxy;
- determine that the network proxy has no traffic within a detection window;
- and
- delete the microservice, the network proxy, and a container image associated with the microservice.
Dependencies are inferred from the claim text.