Kubernetes - broadcast a specific http request to every replica instances from the same pod

6/25/2020

I'm really new to kubernetes and I would like to distribute only one specific request received by the ingress controller to every replica instance of a microservice. It's to avoid the load balancing.

My context is that I have two replica for a Java Spring Boot microservice and each of them have singleton, I would like to invoke the same call from each singleton in a specific request like the path below :

https://domaine.xx/path/operationThatBoradcastReplicaPod

It's possible to configure the ingress controller to filter a specific path and do the broadcast ?

Im not in cloud platform like AWS, AZURE, etc.

Thank you in advance for your reply !

-- Jcdev
kubernetes

0 Answers