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

   Hey Jan, did you see this ancient PR 
https://github.com/apache/solr-operator/pull/90? Its basically hacking the node 
labels in as sysprops. But yes, you need node permissions which is very 
unfortunate. I really wish Kubernetes solved this via the Downwards API years 
ago.
   
   Given 
[SIP-18](https://cwiki.apache.org/confluence/display/SOLR/SIP-18%3A+A+Solr+Kubernetes+Module+for+native+integration)
 what do you think about a plugin that allows loading "sysProp" like key-values 
from external sources, like kubernetes? Getting away from hacky initContainers 
is the best path for us. You can see how we add new kube-friendly features to 
Solr, but make those features available in earlier versions through the 
operator doing some hacky stuff. And eventually the minimum Solr version will 
let us get rid of those hacks.
   
   So I can definitely see a hacky initContainer doing the work for us here, 
but eventually it would be great to just use the KubePropertiesPlugin (just an 
example), and not have to have a complex setup process.
   
   Eventually maybe https://github.com/kubernetes/kubernetes/issues/40610 will 
make it in and this gets even easier for us...


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