I have scenario; where I want to redirect to different services at back end based on a query parameter value. I have gone through documents but couldn't find any help there.
For example:
if Path=/example.com/?color=red ---> forward request to service--> RED-COLOR-SERVICE:8080
if Path=/example.com/?color=blue ---> forward request to service--> BLUE-COLOR-SERVICE:8080
if Path=/example.com/?color=green ---> forward request to service--> GREEN-COLOR-SERVICE:8080
Thanks
In general no, the Ingress spec only offers routing on hostname and path. Check the annotation features offered by your specific controller, but I don’t know of any for this off the top of my head.