Network containers
AssigneePaypal, Inc.
InventorSharad Murthy
Life of this patent
Estimating the term…
Abstract
The systems and methods that maintain an IP address of a container when the container is moved from a first node to a second node in a data center are provided. Each node includes a local controller which is communicatively coupled to the central controller. The local controller generates an IP address for a container that executes on the first node. A label unique to the container is also generated on the first node. The local controller then synchronizes the IP address and the label of the container with the central controller. The central controller then passes the IP address and the label to the second node when the container is moved from the first node to the second node, and ensures that the IP address of the container remains the same before and after the move.
Claims21
(canceled)
A computer system, comprising:
- a processor;
- and
- a non-transitory computer-readable medium having stored thereon instructions executable to cause the computer system to perform operations comprising:
- generating a container for a first node in a plurality of nodes, wherein the container is operable to execute at least one application on the first node;
- generating a label that includes a container identifier and a specification for the container, wherein the label is unique to the container and is associated with an Internet Protocol (IP) address of the container, and wherein the specification identifies a network associated with the container;
- storing the label and the IP address of the container within a central data structure and at the first node, wherein the central data structure is configured to store a plurality of labels for a plurality of containers executing on the plurality of nodes, and wherein the first node is configured to store a plurality of labels from a plurality of containers executing on the first node;
- and
- moving the container from the first node to a second node in the plurality of nodes, while using the label to preserve the IP address of the container assigned at the first node, wherein the moving further comprises:
- causing an instance of the container to be generated for execution on the second node;
- determining that the container has been removed from the first node;
- and
- subsequent to the determining, assigning the label and the IP address to the instance of the container generated for execution on the second node.
A non-transitory computer-readable medium having stored thereon instructions that are executable by a computer system to cause the computer system to perform operations comprising:
- generating a container for a first node in a plurality of nodes, wherein the container is operable to execute at least one application on the first node;
- generating a label that includes a container identifier and a specification for the container, wherein the label is unique to the container and is associated with an Internet Protocol (IP) address of the container, and wherein the specification identifies a network associated with the container;
- storing the label and the IP address of the container within a central data structure and at the first node, wherein the central data structure is configured to store a plurality of labels for a plurality of containers executing on the plurality of nodes, and wherein the first node is configured to store a plurality of labels from a plurality of containers executing on the first node;
- and
- moving the container from the first node to a second node in the plurality of nodes, while using the label to preserve the IP address of the container assigned at the first node, wherein the moving further comprises:
- causing an instance of the container to be generated for execution on the second node;
- determining that the container has been removed from the first node;
- and
- subsequent to the determining, assigning the label and the IP address to the instance of the container generated for execution on the second node.
A method, comprising:
- generating, by a computer system, a container for a first node in a plurality of nodes, wherein the container is operable to execute at least one application on the first node;
- generating a label that includes a container identifier and a specification for the container, wherein the label is unique to the container and is associated with an Internet Protocol (IP) address of the container, and wherein the specification identifies a network associated with the container;
- storing the label and the IP address of the container within a central data structure, wherein the central data structure is configured to store a plurality of labels for a plurality of containers executing on the plurality of nodes, and wherein the first node is configured to store a plurality of labels from a plurality of containers executing on the first node;
- and
- the computer system moving the container from the first node to a second node in the plurality of nodes, while using the label to preserve the IP address of the container assigned at the first node, wherein the moving further comprises:
- causing an instance of the container to be generated for execution on the second node;
- determining that the container has been removed from the first node;
- and
- subsequent to the determining, assigning the label and the IP address to the instance of the container generated for execution on the second node.
Dependencies are inferred from the claim text.