HoustonPutman commented on issue #251:
URL: https://github.com/apache/solr-operator/issues/251#issuecomment-815083598


   Yeah, we should definitely make the changes necessary to enable the HPA, 
especially if they are as easy as this.
   
   I think the most painful part will be not overriding the replicas value in 
the operator. Currently we default `nil` `replicas` values (to 3 I think...), 
but if we want to enable HPA, then we would have to turn over the management of 
the `replicas` field to the HPA. We could probably have a field called 
`autoscale: true|false` that makes it so that the StatefulSet `replicas` field 
isn't defined. But it would be cool if we could implement this without 
requiring the user explicitly enable autoscaling via a field.
   
   After reading more, I think my assumption above might be incorrect...
   
   Do you want to get a PR started for this? If we can get it done soon, we can 
get it in for the `v0.3.0` release that is starting next week.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to