You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove Barman Cloud requirement for backup and recovery #4681
Currently, CloudNativePG operand images ship with Barman Cloud. However, with the new CNPG-I (#3699), we should remove Barman Cloud from the main operand images and make it part of a default available plugin, used both for WAL archiving/restore and base backup/restore.
Reacted by Itay Grudev, 0xAuwtch, Vladimir Konkov, saolof, Jakob Hofer, Oscar and Deme
Coming to the end of May, it is unrealistic to complete this activity by the end of June. Moving this to 1.31.0, which forces us to maintain Barman Cloud in core for another release.
I am currently planning my migration to the new Barman Cloud plugin, and I wanted to add some feedback regarding the upgrade lifecycle of CNPG-I plugins.
In my current setup, I rely heavily on ENABLE_INSTANCE_MANAGER_INPLACE_UPDATES to ensure that core CNPG controller updates don't cause cascading pod restarts or unexpected database switchovers.
However, because the Barman plugin architecture introduces a sidecar container (plugin-barman-cloud), any update to the plugin image alters the PodSpec. This completely bypasses the in-place update mechanism and forces a rolling restart of the Postgres cluster.
Having the Postgres cluster restart for a backup-plugin update is a significant issue for me.
For high-availability, large-scale production databases, minimizing switchovers and restart is critical. It would be amazing if the plugin architecture could eventually support an in-place update mechanism similar to the instance manager, or if the sidecar binaries could be updated without triggering a Kubernetes PodSpec mutation that forces pod restarts.
Have you think about this or do you have any 'mitigation'?
For high-availability, large-scale production databases, minimizing switchovers and restart is critical. It would be amazing if the plugin architecture could eventually support an in-place update mechanism similar to the instance manager, or if the sidecar binaries could be updated without triggering a Kubernetes `PodSpec` mutation that forces pod restarts.
Have you think about this or do you have any 'mitigation'?
Yes, we have and the solution unfortunately requires work to be done in the operator, and not limited to just the Barman Cloud plugin (ideally, we want to cover also the Postgres instance - which could/should run in a separate container in the instance pod). Hopefully, we can get this done in 1.32.
We have decided that 1.31 will be the last minor release of CloudNativePG to ship with native support for Barman Cloud plugin. So I am moving this to 1.32.0.
Activity
25 remaining items
gbartolini commentedon Mar 4, 2026
Even 1.29 cannot be met. Let's change the operator to target 1.30.
gbartolini commentedon May 29, 2026
Coming to the end of May, it is unrealistic to complete this activity by the end of June. Moving this to 1.31.0, which forces us to maintain Barman Cloud in core for another release.
AnizR commentedon Jul 1, 2026
Hi,
I am currently planning my migration to the new Barman Cloud plugin, and I wanted to add some feedback regarding the upgrade lifecycle of CNPG-I plugins.
In my current setup, I rely heavily on
ENABLE_INSTANCE_MANAGER_INPLACE_UPDATESto ensure that core CNPG controller updates don't cause cascading pod restarts or unexpected database switchovers.However, because the Barman plugin architecture introduces a sidecar container (
plugin-barman-cloud), any update to the plugin image alters thePodSpec. This completely bypasses the in-place update mechanism and forces a rolling restart of the Postgres cluster.Having the Postgres cluster restart for a backup-plugin update is a significant issue for me.
For high-availability, large-scale production databases, minimizing switchovers and restart is critical. It would be amazing if the plugin architecture could eventually support an in-place update mechanism similar to the instance manager, or if the sidecar binaries could be updated without triggering a Kubernetes
PodSpecmutation that forces pod restarts.Have you think about this or do you have any 'mitigation'?
Thanks for all the great work on this operator!
gbartolini commentedon Oct 15, 2026
Hi @AnizR,
Yes, we have and the solution unfortunately requires work to be done in the operator, and not limited to just the Barman Cloud plugin (ideally, we want to cover also the Postgres instance - which could/should run in a separate container in the instance pod). Hopefully, we can get this done in 1.32.
Much appreciated. Thanks!
gbartolini commentedon Oct 15, 2026
We have decided that 1.31 will be the last minor release of CloudNativePG to ship with native support for Barman Cloud plugin. So I am moving this to 1.32.0.