Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm: upgrade to PostgreSQL 14 #744

Comments

@mdonadoni
Copy link
Member

We are currently using PostgreSQL 12 in our Helm chart:

image: docker.io/library/postgres:12.13

Given that we have already tested (and we are already using) PostgreSQL 14, we should update the internal database to the same version, so that local/dev environments use the same database version as REANA deployed at CERN.

Note that this represents a big issue for already-deployed instances of REANA that use the internal database, as a data migration is needed to move from PostgreSQL 12 to PostgreSQL 14. See the related docs PR reanahub/docs.reana.io#170.

We should discuss what to do, as we have a few options:

  • Update to PostgreSQL 14 without making it possible to customise the version with Helm values, as we have done up until now. This is good to keep all deployments up to date and using the same version, but it means that REANA admins are forced to migrate their database when upgrading to a new version of REANA. This means we should also advertise in some way if a database migration is needed when releasing a new version of REANA.
  • Make the version of PostgreSQL customisable via Helm values, making PostgreSQL 14 as default. This means that admins can keep their old version of PostgreSQL without having to upgrade, but this also means that they might encounter incompatibilities if they keep the old version for too long. It might also happen that admins choose a newer version of PostgreSQL, which might also cause troubles.
@mdonadoni
Copy link
Member Author

Reopening:

  • Docs regarding major upgrade procedure
  • Upgrade to PostgreSQL 14.10 in Helm chart as of next major release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment