ozlerhakan commented on issue #618:
URL: https://github.com/apache/solr-operator/issues/618#issuecomment-1718053738

   Indeed, It looks like a long and back and forth discussion, and I also 
noticed some of you shared my opinion. Well, at this point, it seems you have 
already made a conclusion about this SIP, what is done is already done. 
However, It would be excellent if you consider another option for defining an 
instance's role next to envVars in the future.
   
   Regarding the main question, we'll likely have to rely on the operator to 
have support for specific envVars declarations in the `solrOpts` field within 
the `SolrCloud` CRD spec.  Perhaps, the operator could introduce a new way to 
label parameters with the use of a mix of strings --`<metadata.name>` + 
`<solrcloud-kind-name>` + `<instance-number>`--. Therefore, we can assign 
specific flags to individual instances. For instance, if `metadata.name:test` 
and the cluster has 2 replicas/instances, they can be defined as 
`test-solrcloud-0:-Dsolr.node.roles=coordinator:on,data:off 
test-solrcloud-1:-Dsolr.node.roles=coordinator:off,data:on` It is just my first 
impression and it could also be done in another way.
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

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