Kubernetes deploy strategy

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Hi everyone, I am deploying NC in k8s with the official Helm chart.

What is the best strategy for NC deploy - RollingUpdate or Recreate?

Assume that I want to update between major versions (31 → 32). Shoud I completly terminate current replicas before deploy the brand new, or NC can serve requests concurrently with 31 and 32 ? Or may be I should terminate all of them and deploy new version with some DB migrations ?