solr-operator icon indicating copy to clipboard operation
solr-operator copied to clipboard

Consider adding a managed HorizontalPodAutoscaler

Open HoustonPutman opened this issue 2 years ago • 2 comments

Parent Ticket: https://github.com/apache/solr-operator/issues/536

Currently users can create their own HPA, and have it be used to control a SolrCloud's spec.replicas parameter.

However if we want to support Autoscaling out-of-the-box, and make it as easy as possible for users to try, then it would be a good idea to add an optional managed HPA. This way users could use their custom HPA or use the built in.

There are many questions to be answered around the default properties of this HPA, and given that it would need to interact with the PrometheusExporter, things start to get a little iffy.

HoustonPutman avatar May 17 '23 17:05 HoustonPutman

This would basically just be templating the HPA for users. There's really nothing much the Operator can add here.

Instead we might consider just adding an option to the Solr helm chart. Much lighter weight.

HoustonPutman avatar Jul 06 '23 15:07 HoustonPutman

Removing the milestone, as this isn't a priority. If needed, I think we should go with the helm chart option in the future.

HoustonPutman avatar Oct 09 '23 19:10 HoustonPutman