Chef Automate HA PostgreSQL OS Patching Runbook
PostgreSQL nodes in a Chef Automate HA cluster should be patched one node at a time, always patching follower nodes before the leader. Before and after every maintenance operation, validate cluster health using pre_test_check.sh. Follower patching does not impact write availability. Leader patching requires a controlled failover that results in approximately 25 seconds of write unavailability, followed by a short period of elevated application errors while client connections are re-established.