Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Released:

  • Solr 9.3
  • Solr Operator ?v0.8.0

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast). Confluence supports inline comments that can also be used.

...

spec:
...
scaling:
populatePodsOnScaleUp: true
vacatePodsOnScaleDown: true
hpa:
create: true
minimumNodes: 2
maximumNodes: 10
metrics:
...
customSolrKubeOptions:
  horizontalPodAutoscalerOptions:
    behavior: ...

If the user want the Solr Operator to move replicas around when scaling up/down, they will use the "scaling.populatePodsOnScaleUp" and "scaling.vacatePodsOnScaleDown" options.

...

The Solr Operator managing the HPA for users will not be a part of this SIP. HPAs are very custom to each users usage of Solr, and Kubernetes makes it easy to point an HPA at a SolrCloud.We can add an optional HPA to the Solr helm chart.

Since the Operator will not control the HPA, it cannot disable it during rolling restarts and other maintenance operations. However due to the new LockedCluster operations logic, we can make sure that scaling does not take place during other cluster maintenance.

...

  • If enabled, On scale-down of the StatefulSet, first move replicas off of the pods that will be deleted.
  • If enabled, On scale-up of the StatefulSet, afterwards move replicas onto the pods that have been created.
  • During Cloud maintenance, disable scaling activity.In the helm chart, manage an HPA for users.


Compatibility, Deprecation, and Migration Plan

...