Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pgupgrade: add init container to delay startup of old deployment (PRO…
…JQUAY-8092) (#984) waits for existing postgresql pod to scale down before the old pod is up Co-authored-by: Shubhra Deshpande <shubhrajayant+github.com>
- Loading branch information
d8bc894
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Termination of the old contianer might take a longer time. Consider not using a fixed timeout, but instead uising Kubernetes events to monitor when the pod is actually removed. Otherwise, crashloops might occur.