Fix Managed Database Initialization (PROJQUAY-1664) #427
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue: https://issues.redhat.com/browse/PROJQUAY-1664
Changelog: Fixes
role does not exist
error for managed database component by addingstartupProbe
.Docs: N/a
Testing: Create
QuayRegistry
with managed database and ensure all health checks pass.Details: Fixes an issue where the managed Postgres pod is killed before it completes initialization, and the next pod that starts up reports
role does not exist
error. Followed the recommendations of the Postgres container maintainers and addedstartupProbe
which tells k8s when the container has finished initialization. Apparently thelivenessProbe
always returns true.