iampranabroy opened a new issue #386:
URL: https://github.com/apache/solr-operator/issues/386


   I have deployed SolrPrometheusExporter as part of my SolrCloud deployment 
for metrics. I have created the SolrPrometheusExporter CRD as per the 
[document](https://apache.github.io/solr-operator/docs/solr-prometheus-exporter/#deploy-prometheus-exporter-for-solr-metrics).
 There is no mention of image version in the CRD and I have configured 
`solr:8.8.0` for the SolrCloud sts.
   
   Now when I see the SolrPrometheusExporter, it has solr image `8.9`
   ``` 
   image:
   repository: library/solr
   tag: '8.9'
   ```
   
   Do we need to configure the solr image version and serviceAccount for 
SolrPrometheusExporter as well and is there any documentation available? 
   
   I am deploying it via argoCD and below is my .yaml manifest file.
   
   ```
   apiVersion: solr.apache.org/v1beta1
   kind: SolrPrometheusExporter
   metadata:
     name: SolrCloud-prom-exporter
     namespace: xxxx
     annotations:
       argocd.argoproj.io/sync-wave: "2"
   spec:
     customKubeOptions:
       podOptions:
         resources:
           requests:
             cpu: 300m
             memory: 300m
     solrReference:
       cloud:
         name: xxxxxxx
     numThreads: 6
   ```
   
   Final SolrPrometheusExporter  pod manifest:
   ```
   apiVersion: solr.apache.org/v1beta1
   kind: SolrPrometheusExporter
   metadata:
     annotations:
       argocd.argoproj.io/sync-wave: '2'
     creationTimestamp: '2021-12-16T12:08:46Z'
     generation: 2
     labels:
       argocd.argoproj.io/instance: xxxxx-solr-main
     managedFields:
       - apiVersion: solr.apache.org/v1beta1
         fieldsType: FieldsV1
         fieldsV1:
           'f:metadata':
             'f:annotations':
               .: {}
               'f:argocd.argoproj.io/sync-wave': {}
             'f:labels':
               .: {}
               'f:argocd.argoproj.io/instance': {}
           'f:spec':
             .: {}
             'f:customKubeOptions':
               .: {}
               'f:podOptions':
                 .: {}
                 'f:resources':
                   .: {}
                   'f:requests':
                     .: {}
                     'f:cpu': {}
                     'f:memory': {}
             'f:numThreads': {}
             'f:solrReference':
               .: {}
               'f:cloud':
                 .: {}
                 'f:name': {}
         manager: argocd-application-controller
         operation: Update
         time: '2021-12-16T12:08:46Z'
       - apiVersion: solr.apache.org/v1beta1
         fieldsType: FieldsV1
         fieldsV1:
           'f:spec':
             'f:image':
               .: {}
               'f:repository': {}
               'f:tag': {}
             'f:solrReference':
               'f:cloud':
                 'f:namespace': {}
           'f:status':
             .: {}
             'f:ready': {}
         manager: solr-operator
         operation: Update
         time: '2021-12-16T12:08:46Z'
     name: xxxxxx-solr-cloud-prom-exporter
     namespace: xxxxxxxxxxxxxxxxxxx
     resourceVersion: '56513909'
     uid: 09bc16ab-a3c0-4f7b-9084-5729b0662a42
   spec:
     customKubeOptions:
       podOptions:
         resources:
           requests:
             cpu: 300m
             memory: 300m
     image:
       repository: library/solr
       tag: '8.9'
     numThreads: 6
     solrReference:
       cloud:
         name: xxxxxxxx-solr-cloud
         namespace: xxxxxxxxxxxxxxxxxxx
   status:
     ready: true
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to