US patent US12761976
Statefulsets graceful termination for cloud computing platforms
Abstract
A pod hosted on a node is generated via the cloud orchestration platform. The pod is to be assigned to managing the one or more task processes corresponding to the data set. The pod is designated as a master pod. Each of one or more worker pods replicates data from the master pod. Each of the one or more worker pods is hosted on another node. An input that triggers an upgrade for the corresponding virtual machines is detected. Execution of a custom script is initiated, which triggers: polling the microservice for status information of the pod and the set of replicas; and determining whether a condition for iteration advancement for the upgrade is satisfied based on the status upgrade. An incremental advancement of the upgrade to a next virtual machine is initiated upon determining that the condition for iteration advancement for the upgrade is satisfied.