h_elyot
Mar 22, 2019Nimbostratus
OpenShift : iRule for redirecting to Status URL if PODs are unreachable
Dears,
We would like to redirect traffic to an external status page if the PODs in our Openshift environment are unreachable. In the ASM config, the members of the related pools are the openshift routers interfaces. I lack knowledge in the field, that's why I am asking for advice here. Would the following iRule work in this situation ?
when HTTP_RESPONSE { if { [HTTP::status] contains "404"} { HTTP::redirect "http://www.siterequest.com/" }}
Regards,