Containerized upgrade in operating system level virtualization
AssigneeCisco Technology, Inc.
InventorSteven Charles Dake
Life of this patent
Estimating the term…
Abstract
Utilizing several passes of a token among the operating system level virtualization applications (OSLVAs) running on each of an ordered list of nodes selectively upgrade user applications in specific containers after determining that each OSVLA hosting a container to be upgraded is live. A failed liveness check can cause a revision to the list of nodes. Post-upgrade health checks of each application, and a list-wide notification of a completed upgrade of the application instances, can follow a successful upgrade. A roll back of the upgrade across all nodes can follow an unsuccessful upgrade.
Claims18
A method, comprising:
- establishing, by one or more computers, an ordered list of networked nodes, the list comprising nodes executing operating system level (OS-level) virtualization and hosting at least one containerized application to be upgraded;
- first communicating, among the nodes in the listed order and with return to the first listed node from the last listed node, a token;
- first updating, by the OS-level virtualization application at each node receiving the first communicated token prior to communicating the token further, the first communicated token with an indication of liveness of the OS-level virtualization application at the node receiving the first communicated token;
- in response to receiving, by the first listed node from the last listed node, the first updated token indicating that all nodes are live, second communicating, among the nodes in the listed order and with return to the first listed node from the last listed node, the first updated token, the first updated token comprising upgrade information;
- and
- upgrading, by the OS-level virtualization application at each node receiving the second communicated token, each containerized application to be upgraded at the node receiving the second communicated token in accordance with the upgrade information, and second updating the second communicated token to indicate a successful upgrade of the each upgraded containerized application at the node receiving the second communicated token prior to communicating the token further.
A computer program product, comprising:
- a non-transitory computer-readable storage device having computer-executable program instructions embodied thereon that when executed by a computer cause the computer to:
- establish an ordered list of networked nodes, the list comprising nodes executing operating system level (OS-level) virtualization and hosting at least one containerized application to be upgraded;
- first communicate, among the nodes in the listed order and with return to the first listed node from the last listed node, a token;
- first update, by the OS-level virtualization application at each node receiving the first communicated token prior to communicating the token further, the first communicated token with an indication of liveness of the OS-level virtualization application at the node receiving the first communicated token;
- in response to receiving, by the first listed node from the last listed node, the first updated token indicating that all nodes are live, second communicate, among the nodes in the listed order and with return to the first listed node from the last listed node, the first updated token, the first updated token comprising upgrade information;
- and
- upgrade, by the OS-level virtualization application at each node receiving the second communicated token, each containerized application to be upgraded at the node receiving the second communicated token in accordance with the upgrade information, and second updating the second communicated token to indicate a successful upgrade of the each upgraded containerized application at the node receiving the second communicated token prior to communicating the token further.
A system to use one-time codes to provide user feedback to merchants, the system comprising:
- a storage device;
- and
- a processor communicatively coupled to the storage device, wherein the processor executes application code instructions that are stored in the storage device to cause the system to:
- establish an ordered list of networked nodes, the list comprising nodes executing operating system level (OS-level) virtualization and hosting at least one containerized application to be upgraded;
- first communicate, among the nodes in the listed order and with return to the first listed node from the last listed node, a token;
- first update, by the OS-level virtualization application at each node receiving the first communicated token prior to communicating the token further, the first communicated token with an indication of liveness of the OS-level virtualization application at the node receiving the first communicated token;
- in response to receiving, by the first listed node from the last listed node, the first updated token indicating that all nodes are live, second communicate, among the nodes in the listed order and with return to the first listed node from the last listed node, the first updated token, the first updated token comprising upgrade information;
- and
- upgrade, by the OS-level virtualization application at each node receiving the second communicated token, each containerized application to be upgraded at the node receiving the second communicated token in accordance with the upgrade information, and second updating the second communicated token to indicate a successful upgrade of the each upgraded containerized application at the node receiving the second communicated token prior to communicating the token further.
Dependencies are inferred from the claim text.