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
There isn't a documented upgrade path or specific migration steps required to move from Barman Cloud plugin 0.4.0 to 0.7.0. The changelogs and release notes for versions 0.5.0, 0.6.0, and 0.7.0 do not mention any breaking changes or requirements for consecutive upgrades, and no user reports or issues indicate problems with direct upgrades between these versions. Based on available information, a direct upgrade from 0.4.0 to 0.7.0 should be possible, but it's best practice to test the upgrade in a staging environment first to ensure compatibility with your workflows and observability integrations sourcesource.
No, you do not need to run a manual rollout restart after applying the manifest.yaml for the Barman Cloud plugin upgrade. Applying the manifest with kubectl apply -f manifest.yaml automatically triggers the necessary rollout for the barman-cloud deployment in the cnpg-system namespace. The only recommended post-apply step is to verify the rollout status with:
kubectl rollout status deployment -n cnpg-system barman-cloud
If the rollout completes successfully, the upgrade is done—no further steps are required. This procedure is supported by the official installation documentation and the deployment manifest, which uses a standard Kubernetes rollout strategy and does not require extra actions unless the rollout fails or stalls source.
No, you do not need to run a manual rollout restart after applying the manifest.yaml for the Barman Cloud plugin upgrade. Applying the manifest with kubectl apply -f manifest.yaml automatically triggers the necessary rollout for the barman-cloud deployment in the cnpg-system namespace. The only recommended post-apply step is to verify the rollout status with:
kubectl rollout status deployment -n cnpg-system barman-cloud
If the rollout completes successfully, the upgrade is done—no further steps are required. This procedure is supported by the official installation documentation and the deployment manifest, which uses a standard Kubernetes rollout strategy and does not require extra actions unless the rollout fails or stalls source.
If I don't use kubectl rollout restart deployment -n $oname-system $oname-controller-manager
I will see the old version of barman plugin in the output of kubectl cnpg -n $oname-system status $cluster_name
You're correct—after upgrading the Barman Cloud plugin with kubectl apply -f manifest.yaml, the new version is deployed, but the CloudNativePG operator (controller-manager) does not dynamically detect plugin changes. The operator only discovers plugins at startup, so if you don't restart the controller-manager deployment, kubectl cnpg status will continue to show the old plugin version even though the new plugin is running. To ensure the status output reflects the updated plugin version, you do need to run:
This behavior is confirmed in the CloudNativePG documentation and code: the operator must be restarted to detect new or updated plugins, as it does not reload them dynamically during runtime (source). The official Barman Cloud plugin docs don't mention this step, but practical experience and the operator's design require it for accurate version reporting.
Always tell an AI it's wrong a couple times to see if you can get an actual answer. 🤡
Since restarting the controller triggered a rolling update on the clusters I'm going to assume that that is indeed required to finalize the plugin update.
Activity
dosubot commentedon Oct 15, 2025
There isn't a documented upgrade path or specific migration steps required to move from Barman Cloud plugin 0.4.0 to 0.7.0. The changelogs and release notes for versions 0.5.0, 0.6.0, and 0.7.0 do not mention any breaking changes or requirements for consecutive upgrades, and no user reports or issues indicate problems with direct upgrades between these versions. Based on available information, a direct upgrade from 0.4.0 to 0.7.0 should be possible, but it's best practice to test the upgrade in a staging environment first to ensure compatibility with your workflows and observability integrations source source.
To reply, just mention @dosu.
Share context across your team and agents. Try Dosu.
alexeyshishkin-edb commentedon Oct 15, 2025
one more possible question: do we need to perform additional steps after
like
kubectl rollout restart deployment -n $oname-system $oname-controller-managerthe upgrade procedure has to be crystal clear
dosubot commentedon Oct 15, 2025
No, you do not need to run a manual rollout restart after applying the manifest.yaml for the Barman Cloud plugin upgrade. Applying the manifest with
kubectl apply -f manifest.yamlautomatically triggers the necessary rollout for thebarman-clouddeployment in thecnpg-systemnamespace. The only recommended post-apply step is to verify the rollout status with:If the rollout completes successfully, the upgrade is done—no further steps are required. This procedure is supported by the official installation documentation and the deployment manifest, which uses a standard Kubernetes rollout strategy and does not require extra actions unless the rollout fails or stalls source.
To reply, just mention @dosu.
Docs are dead. Just use Dosu.
alexeyshishkin-edb commentedon Oct 15, 2025
for consistency the upgrade from 0.4.0 to 0.7.0:
several items have been configured/created
alexeyshishkin-edb commentedon Oct 15, 2025
If I don't use
kubectl rollout restart deployment -n $oname-system $oname-controller-managerI will see the old version of barman plugin in the output of
kubectl cnpg -n $oname-system status $cluster_namedosubot commentedon Oct 15, 2025
You're correct—after upgrading the Barman Cloud plugin with
kubectl apply -f manifest.yaml, the new version is deployed, but the CloudNativePG operator (controller-manager) does not dynamically detect plugin changes. The operator only discovers plugins at startup, so if you don't restart the controller-manager deployment,kubectl cnpg statuswill continue to show the old plugin version even though the new plugin is running. To ensure the status output reflects the updated plugin version, you do need to run:This behavior is confirmed in the CloudNativePG documentation and code: the operator must be restarted to detect new or updated plugins, as it does not reload them dynamically during runtime (source). The official Barman Cloud plugin docs don't mention this step, but practical experience and the operator's design require it for accurate version reporting.
To reply, just mention @dosu.
Docs are dead. Just use Dosu.
zeeZ commentedon Nov 7, 2025
Always tell an AI it's wrong a couple times to see if you can get an actual answer. 🤡
Since restarting the controller triggered a rolling update on the clusters I'm going to assume that that is indeed required to finalize the plugin update.