CPC G06F 9/45558 (2013.01) [G06F 9/5077 (2013.01); G06F 2009/45562 (2013.01); G06F 2009/4557 (2013.01)] | 20 Claims |
1. A computer-implemented method for tuning containers in pods, in a high availability environment that runs two or more pods to implement a service implemented on a cloud-based computing cluster, while the containers are running, including:
a tuning engine accessing application metrics from a tunable container and a rule that specifies tuning of a resource configuration for the tunable container, sometimes increasing and sometimes decreasing resources in the resource configuration, wherein the rule combines a plurality of variables from the application metrics to determine whether a tuning update should be applied to the tunable container;
the turning engine, responsive to applying the rule, updating the resource configuration for the tunable container to produce an updated resource configuration that includes updates to one or more of a Java virtual machine (abbreviated JVM) setting, a cache size, a number of active sessions, a number of concurrent connections, a number of work threads in a pool, and a number of open files allowed; and
an update manager applying the updated resource configuration by performing a rolling update of instances of the tunable container in the pods, while the service is running.
|