Skip to content

Added 301 case for health probes

Francisco Borges Aurindo Barros requested to merge fix-probe into v9.4-1

The IT website suffered intermittent downtime for the past few days (02/09 to 09/09) due to what was believed to be a bug caused from upstream. bug link.

Although the instance was indeed affected by it, the real culprit for the downtime was the liveness Probe, returning 301 due to changes made by Catharine Noble (confirmed by her) on Friday (02/09/2022) that made the default endpoint permanently redirect to /welcome.

This MR changes the probe to include and acknowledge 301 as an acceptable code returned by the base path (/).

This MR will also solve the problem reported in the OTG permanently.

NB: The IT website has the livenessProbe disabled until this MR is accepted and changes are propagated to the cluster. This means the annotation for no updates from the Operator must be removed after propagating the changes to production.

Edited by Francisco Borges Aurindo Barros

Merge request reports