CNPG Recipe 19 – Finer Control Over Postgres Startup with Probes
·8 mins
CloudNativePG 1.26 introduces enhanced support for Kubernetes startup probes,
giving users finer control over how and when PostgreSQL instances are marked as
“started.” This article explores the new capabilities, including both basic and
advanced configuration modes, and explains the different probe strategies—such
as pg_isready
, SQL query
, and streaming
for replicas. It provides
practical guidance for improving the reliability of high-availability Postgres
clusters by aligning startup conditions with actual database readiness.