Continuous monitoring of containers using monitor containers configured as sidecar containers
AssigneeT-Mobile USA, Inc.
InventorsHemang Shishir, Ramprakash Gopinathan
Life of this patent
Estimating the term…
Abstract
Systems and methods discussed herein are directed to monitoring an application pod of a network using a sidecar container. The application pod comprises one or more containers and the sidecar container, where each of the one or more containers hosts a service for traffic of the network. The monitoring comprises periodically executing checks of a plurality of checks on the containers. The sidecar container, based at least in part on the checks, determines that a container is non-compliant. Based at least in part on the container being non-compliant, the container is removed from service. The container may be fixed and placed back in service or may be replaced with a new container that provides the service.
Claims18
A method comprising:
- monitoring, by a monitor sidecar container, a first application pod in a first geographic region of a network, the first application pod comprising multiple containers and multiple monitor sidecar containers,
- each of the multiple containers hosting a service for traffic of the network, the monitor sider container being a first monitor sidecar container of the multiple monitor sidecar containers, the first monitor sidecar container configured to monitor a first container of the multiple containers,
- other monitor sidecar containers of the multiple monitor sidecar containers configured to individually monitor corresponding containers of the multiple containers, and
- the monitoring comprising periodically executing a first check of a plurality of checks on the first container of the multiple containers;
- determining, by the monitor sidecar container and based at least in part on the first check, that the first container is non-compliant;
- removing, based at least in part on the first container being non-compliant, the first container from service;
- replacing the first container, until the first container is fixed, by routing traffic to a different container of one or more containers in a second application pod in a second geographic region different from the first geographic region, the different container providing a same service as the first container;
- fixing the first container;
- and
- placing the first container into service.
A non-transitory storage medium comprising instructions stored thereon, the instructions being executable by one or more processors to perform actions comprising:
- implementing a monitor sidecar container within a first application pod in a first geographic region of a network;
- monitoring, by the monitor sidecar container, the first application pod, the first application pod comprising multiple containers and multiple monitor sidecar containers,
- each of the multiple containers hosting a service for traffic of the network,
- the monitor sider container being a first monitor sidecar container of the multiple monitor sidecar containers, the first monitor sidecar container configured to monitor a first container of the multiple containers,
- other monitor sidecar containers of the multiple monitor sidecar containers configured to individually monitor corresponding containers of the multiple containers, and
- the monitoring comprising periodically executing a first check of a plurality of checks on the first container of the multiple containers;
- determining, by the monitor sidecar container and based at least in part on the first check, that the first container is non-compliant;
- removing, based at least in part on the first container being non-compliant, the first container from service;
- replacing the first container, until the first container is fixed, by routing traffic to a different container of one or more containers in a second application pod in a second geographic region different from the first geographic region, the different container providing a same service as the first container;
- fixing the first container;
- and
- placing the first container into service.
An apparatus comprising:
- one or more processors;
- and
- a non-transitory storage medium comprising instructions stored thereon, the instructions being executable by the one or more processors to cause the processors to perform one or more actions comprising:
- implementing a monitor sidecar container within a first application pod in a first geographic region of a network;
- monitoring, by the monitor sidecar container, the first application pod, the first application pod comprising multiple containers and multiple monitor sidecar containers,
- each of the multiple containers hosting a service for traffic of the network,
- the monitor sidecar container being a first monitor sidecar container of the multiple monitor sidecar containers, the first monitor sider container configured to monitor a first container of the multiple containers,
- other monitor sidecar containers of the multiple monitor sidecar containers configured to individually monitor corresponding containers of the multiple containers, and
- the monitoring comprising periodically executing a first check of a plurality of checks on the first container of the multiple containers;
- determining, by the monitor sidecar container and based at least in part on the first check, that the first container is non-compliant;
- removing, based at least in part on the first container being non-compliant, the first container from service;
- replacing the first container, until the first container is fixed, by routing traffic to a different container of one or more containers in a second application pod in a second geographic region different from the first geographic region, the different container providing a same service as the first container;
- fixing the first container;
- and
- placing the first container into service.
Dependencies are inferred from the claim text.