-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use pg_ready for k8s migration job init-check (#34)
nslookup of DB hostname was used as DB init check for migration job. This was causing the migration job container to fail multiple times. NSLOOKUP being successful does not equate to DB is ready to accept connections. This PR changed that to use the pg_ready tool which is a much more reliable metric to assess DB ready status.
- Loading branch information
1 parent
fc33f07
commit 83b288a
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters