Hao Liang's Blog

Embrace the World with Cloud Native and Open-source

Analysis on the principle of seamless reloading using Route's HA Proxy in Openshift

1. Background In the openshift cluster (hereinafter referred to as OCP), the forwarding of external traffic is achieved by controlling the routing rules in the Route object through the Router controller to overload the HAProxy configuration file in the Infra node. In step 3 in the above figure, during the process of Router reloading the Haproxy configuration, the Haproxy service will be unavailable for a short period of time. So how to ensure that user requests are not lost during the Haproxy reloading process?