orange-keyboard-57616
04/16/2019, 6:02 PMcreamy-potato-29402
04/16/2019, 8:00 PMbreezy-hamburger-69619
04/16/2019, 8:08 PMcreamy-potato-29402
04/16/2019, 8:25 PMbreezy-hamburger-69619
04/16/2019, 8:50 PMwhite-balloon-205
04/17/2019, 12:02 AMorange-keyboard-57616
04/21/2019, 4:04 PMkubectl
is kubectl wait --for=condition=complete --timeout=30s [name of job]
.waitForCompletion
is an adequate solution to the problem, and perhaps adding a timeout. It's fairly common to run a job to run migrations before rolling out a deployment.