I think you should consider adding the high-availability plugin [1] to ensure synchronisation between the servers.
The healthcheck plugin [2] can be used to let haproxy react on the health status of the 2 servers.
This should be good for an active/passive setup.
To support active/active you can add the global-refdb module [3] and its AWS implementation aws-dynamodb-refdb [4]
to prevent split brain issues.
Another option is k8s-gerrit [5] which provides an HA setup on kubernetes supporting multiple Gerrit primary and replica pods.
-Matthias