Skip to content

Make Auto Deploy databases persistent

We need to make databases used in Auto Deploy persistent. Currently they are ephemeral, so a restart of the postgres pod will wipe the data. It's possible this is desired for review apps, but it's certainly not desired for production.

Links

Documentation blurb

Auto Deploy is already able to run a database instance, so you can benefit of its automatic availability for your application. Since 9.4, this instance is ephemeral and recreated every time the pod is restarted. With GitLab 9.5 we're introducing persistence for databases, making then impossible to use this feature in production environments.

Edited by Fabio Busatto