Patent ID: 11893395
Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 0:
1. A method for restarting services in a controlled manner in a cloud computing environment comprising a plurality of computing devices executing a plurality of Kubernetes pods comprising one or more containers, the services defined by one or more deployment objects, the method comprising:
receiving, by the cloud computing environment, an indication of a deployment in the cloud computing environment, the deployment including a service to be implemented in the cloud computing environment and a number of instances of the service;
instantiating the number of service instances indicated by the deployment object;
in response to a first state indicating that restarts for the instances of the service are to be controlled, determining if a second state indicates that a restart for the instances of the service is requested; and
in response to determining that the restart for the instances of the service is requested, restarting the instances of the service in a controlled manner and in a sequence in accordance with restart criteria associated with the instances of the service to prevent downtime of the service during the restart.