CPC G06F 3/065 (2013.01) [G06F 3/0611 (2013.01); G06F 3/0626 (2013.01); G06F 3/0679 (2013.01)] | 18 Claims |
1. A computer-implemented method comprising:
obtaining a set of metrics associated with a set of data stores of a stateful service, the set of metrics indicating a utilization of each of the data stores of the set of data stores;
based on the set of metrics indicating underutilization associated with at least a portion of the set of data stores, determining, via a controller, to initiate a downscaling of the set of data stores;
in accordance with determining to initiate the downscaling of the set of data stores, deploying a downscaler, via a scaling of a pod separate from the controller, to perform downscaling operations to downscale the set of data stores, the downscaler communicating with a first data store to replicate data of the first data store onto a second data store of the set of data stores of the stateful service;
identifying that the downscaler has completed the downscaling operations to downscale the set of data stores, wherein identifying that the downscaler has completed the downscaling operations comprises identifying a lack of obtaining downscaling metrics within a predetermined period of time; and
based on the completion of the downscaling operations, terminating the downscaler.
|