CPC G06F 8/65 (2013.01) [H04L 45/02 (2013.01)] | 20 Claims |
1. A processor-implemented method for container lifecycle management, the method comprising:
registering a topology for a plurality of deployments in a container orchestration platform;
detecting a rolling update of a deployment of the plurality of deployments, to a new version;
in response to determining that the deployment has one or more ongoing connections to one or more pods of one or more other deployments within the plurality of deployments, assuming ownership, via a version controller, of at least one previous version pod of the deployment, wherein the assuming removes the at least one previous version pod from the deployment;
creating network routing rules for the at least one previous version pod; and
while other pods of the deployment are updating to respective new versions via the rolling update, routing network packets to the at least one previous version pod based on the created network routing rules, wherein the at least one previous version pod coexists with the respective new versions of the other pods of the deployment.
|