Back to results
US 11,307,839 B2Granted
Updating of container-based applications
AssigneeHewlett Packard Enterprise Development LP
InventorsKiran Kumar Vaddi, Om Kumar, Lokesh Shivashankara
Life of this patent
Estimating the term…
Abstract
Example techniques for updating of container-based applications are described. In an example, a second version of an application code or application code changes are retrieved from a code storage location. Based on the retrieved second version or the retrieved application code changes, an application hosted in a container is updated.
Claims15
A system comprising:
- a processor;
- and
- a memory coupled to the processor and storing a container image that includes a first set of instructions executable by the processor and storing a second set of instructions, where a container is instantiable from the container image and the container is to host an application that corresponds to a first version of an application code,
- wherein the first set of instructions, when executed by the processor, cause the processor to:
- detect updates to a code storage location based on at least one of polling and receipt of an update notification;
- retrieve application code changes from the code storage location in response to detection of the updates to the code storage location, the application code changes being a difference between the first version and a second version;
- and
- update the application hosted in the container based on the retrieved application code changes;
- wherein the second set of instructions, when executed by the processor, cause the processor to create a production container image corresponding to a production container to be deployed in a production environment, wherein the production container image comprises a final version of the application code corresponding to a final version of the application, and the production container image excludes the first set of instructions.
6 more elements
A method comprising:
- detecting, by a processing resource, presence of an updated version of an application code in a repository node;
- determining, by the processing resource, based on the detection, that an application hosted in a container is to be updated corresponding to the updated version of the application code;
- requesting, by the processing resource, the repository node for the updated version of the application code;
- receiving, by the processing resource, the updated version of the application code from the repository node;
- updating, by the processing resource, the application hosted in the container based on the updated version of the application code, wherein the detecting, the determining, the requesting, the receiving, and the updating are performed by a processor executing a set of instructions that are part of a container image from which the container is instantiable;
- and
- creating a production container image corresponding to a production container to be deployed in a production environment, wherein the production container image comprises a final version of the application code corresponding to a final version of the application, and the production container image excludes the set of instructions.
4 more elements
A non-transitory computer-readable medium comprising instructions, the instructions being executable by a processing resource to:
- determine that an application running in a container is to be updated, the determination being based on detection of presence of changes to an application code in a code storage location, wherein the application code corresponds to the application;
- retrieve one of the changes to the application code and an updated version of the application code from the code storage location in response to the detection, the updated version comprising the changes to the application code;
- and
- update the application being hosted in the container based on the retrieved one of the changes to the application code and the updated version of the application code;
- and
- create a production container image corresponding to a production container to be deployed in a production environment,
- wherein the production container image comprises a final version of the application code corresponding to a final version of the application,
- the instructions that cause the processing resource to determine, to retrieve, and to update from a first set of instructions, and the first set of instructions are part of a container image from which the container is instantiable, and
- the production container image excludes the first set of instructions.
6 more elements
Dependencies are inferred from the claim text.