Hi All, I have deployed 2 replicas of application server. Services is mapped to . . .

Sajitha:
Hi All, I have deployed 2 replicas of application server. Services is mapped to both the pods using selector labels. Then Ingress is mapped to the service. Created DNS record and mapped to Ingress. Implemented session affinity in the Ingress rules. So whenever i hit the Appli dns url, always goes to the same Pod. This is fine. But we have a need that, in the evening we need to put the application in maintenance using webservices call to the application. here our webservices call to put the applicaiton in maintenance is going to only one pod for most of the time.

Sajitha:
Is there a way, we can hit different pod each time from outside of the kubernetes cluster

Othman Albakri:
Services balance the traffic between Pods ,
do you mean you want to hit other Services from ingress in maintenance time ?

Sajitha:
correct, @Othman Albakri how to hit another application URL path during maintenance time using the same application DNS name

Othman Albakri:
which ingress controller you are using ?