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

Allow sessionAffinity for the SolrCloud CommonService

Open HoustonPutman opened this issue 2 years ago • 1 comments

Kubernetes ClusterIP Services allow for sessionAffinity, and customization of the max session stickiness timeout.

More information can be found here: https://kubernetes.io/docs/reference/networking/virtual-ips/#session-affinity

All we would need is these options to be given under SolrCloud.Spec.customSolrKubeOptions.commonServiceOptions, and then passed to the service. This doesn't make sense for the headless service or node services.

HoustonPutman avatar Mar 28 '23 15:03 HoustonPutman

Took a pass at this in https://github.com/apache/solr-operator/pull/571

Just started learning Go this week, but imagine I'm missing a step or two here. LMK!

trevorpburke avatar May 24 '23 23:05 trevorpburke