Forum Discussion

santoshmashetti's avatar
santoshmashetti
Icon for Nimbostratus rankNimbostratus
Jun 22, 2023

write an irule to route (not re-direct) the traffic to an URI instead of a pool.

Hi all,

I am new to F5, I need some guidance in the following situation:

In our scenario, currently we are forwarding the F5 traffic to an pool based on certain logic.
i.e pool pool_name.

In the new scenario, we have been asked to send the traffic to an URL for eg: "http://example.apps.clossc01.syst.cloud.example.com". they have been told that we have to use this URL only and we should not simply hardcode its ip. The reason is this NGNIX service is running in a openshift platform.  kindly share some solutions to route the F5 traffic to this url for further request analysis and it is not a re-direct.

1. can we able to resolve this url and get the node? if yes please share some code.

2. if there are any other way to acheive this please guide.