Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initContainer to wait for Postgres to be ready (#95)
* Add initContainer to wait for Postgres to be ready - Adds an initContainer definition that waits until a given Postgres server is ready to accept connections using `pg_isready` - Uses this initContainer in the Prefect migrations Job and the Prefect Server Deployment This ensures that workloads depending on the database first check to see if the database is ready. This should help avoid crash loop backoffs and can, in certain cases, improve overall spin-up time. Related to https://linear.app/prefect/issue/PLA-358/optimize-the-time-it-takes-for-the-prefect-operator-to-create-a-new * Use smaller alpine flavor of postgresql image
- Loading branch information