A computer-implemented method for terminating an instance associated with an instance group of a computing platform, the method comprising: determining whether an instance , of an instance group is identified as eligible for termination; and in response to determining that the instance of the instance group is identified as eligible for termination, terminating the eligible instance by: in response to a runtime of the eligible instance being equal to or larger than a predetermined maximum lifetime, terminating the eligible instance; and in response to the runtime being smaller than the predetermined maximum lifetime, detaching the eligible instance from the instance group such that it is not associated with the instance group but is still running on the computing platform and in response: preparing a new instance as operational; associating the new operational instance with the instance group; and evicting each pod associated with the detached instance and then terminating the detached instance, wherein the terminating the eligible instance further includes, in response to the runtime being smaller than the predetermined maximum lifetime, identifying the eligible instance as unschedulable to prevent pods being scheduled on the eligible instance. determining whether an instance , of an instance group is identified as eligible for termination; and in response to determining that the instance of the instance group is identified as eligible for termination, terminating the eligible instance by: in response to a runtime of the eligible instance being equal to or larger than a predetermined maximum lifetime, terminating the eligible instance; and in response to the runtime being smaller than the predetermined maximum lifetime, detaching the eligible instance from the instance group such that it is not associated with the instance group but is still running on the computing platform and in response: preparing a new instance as operational; associating the new operational instance with the instance group; and evicting each pod associated with the detached instance and then terminating the detached instance, in response to a runtime of the eligible instance being equal to or larger than a predetermined maximum lifetime, terminating the eligible instance; and in response to the runtime being smaller than the predetermined maximum lifetime, detaching the eligible instance from the instance group such that it is not associated with the instance group but is still running on the computing platform and in response: preparing a new instance as operational; associating the new operational instance with the instance group; and evicting each pod associated with the detached instance and then terminating the detached instance, preparing a new instance as operational; associating the new operational instance with the instance group; and evicting each pod associated with the detached instance and then terminating the detached instance, wherein the terminating the eligible instance further includes, in response to the runtime being smaller than the predetermined maximum lifetime, identifying the eligible instance as unschedulable to prevent pods being scheduled on the eligible instance. <EOS>