Pushpendra,

I would recommend using an Ingress service like Envoy or Kong to manage
your communication. You get other things besides network connection
management such as security through mTLS. I wrote a short blog about this
which will be going up on New Stack hopefully soon.

Chris Bradford also made a sample Java App using Ingress
https://github.com/datastax/cass-operator/tree/master/docs/ingress/sample-java-application

Hope this helps!

Patrick

On Mon, Aug 10, 2020 at 4:12 PM Erick Ramirez <erick.rami...@datastax.com>
wrote:

> Use the service as contact points, not the IPs since they're ephemeral.
> Even when all pods get replaced, they will still be accessible via the
> service. Cheers!
>
>>

Reply via email to