janhoy commented on issue #381:
URL: https://github.com/apache/solr-operator/issues/381#issuecomment-984604208


   You only need the ingress for external traffic. Applications running inside 
the cluster can use the service name for your cluster. Say you have a SolrCloud 
deployment called "example" with 2 pods, you will see that there is a `-common` 
service created that will load balance between the two pods, and you can also 
access each node with the `-0` and `-1` service names.
   
   ```
   NAME                                          READY   STATUS                 
      RESTARTS
   pod/example-solrcloud-0                       1/1     Running                
      0       
   pod/example-solrcloud-1                       1/1     Running                
      0       
   
   NAME                                          TYPE           CLUSTER-IP      
EXTERNAL-IP   PORT(S)
   service/example-solrcloud-common              ClusterIP      10.43.185.20    
<none>        80/TCP 
   service/example-solrcloud-0                   ClusterIP      10.43.69.190    
<none>        80/TCP 
   service/example-solrcloud-1                   ClusterIP      10.43.16.234    
<none>        80/TCP 
   ```


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