infinispan / infinispan-helm-charts

Apache License 2.0
14 stars 29 forks source link

Main service as headless if using ClusterIP #72

Closed nicknas closed 11 months ago

nicknas commented 1 year ago

When using ClusterIP, it only provides one record of the server to the client. When using LoadBalancer or a headless service in a Statefulset, the client could receive all the records for every replica inside the server. Using a headed clusterIP service, the client will only receive one of the multiple replicas on every client request.

rigazilla commented 1 year ago

sorry I'm little late...

There's already an headless service for this purpose: infinispan-ping. Can't we just rely on that one for this use case?

rigazilla commented 11 months ago

how to get full IP addresses list is in #88