Running database migrations using jobs and init containers by @andrewlocknet andrewlock.net
In the previous post I described several ways to run database migrations when deploying to Kubernetes. In this post, I show to implement my preferred approach using Kubernetes Jobs and init containers. I'll show an example Helm Chart for a job, and how to update your existing application pods to use init containers that wait for the job to complete.
Report Story
Leave Your Comment