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
not able to configure logical_backup_docker_image for postgres-operator:v1.4.0 #1712
Comments
You upgraded the configmap + deleted the operator pod so that the new config is loaded? |
yes, I updated the configmap and deleted the operator pod, but still not working, the pod changed the configmap to original value @FxKu I am considering upgrade from 1.4.0 to 1.5.0, can I do the upgrade in place(I mean just change the docker image version to the listed below and also change config for the breaking changes below)? or I need to create a new cluster with all the new config? any impact to existing backup in S3? can I rollback to 1.4.0 if upgrading fails? https://github.com/zalando/postgres-operator/releases/tag/v1.5.0 Docker image: registry.opensource.zalan.do/acid/postgres-operator:v1.5.0 Breaking changes |
Upgrading the operator is described here. Why 1.5.0 and not straight to the latest release. Keep in mind the operator is just there for high level management tasks and not about Postgres DBs that are running in your cluster. Make sure, to update CRD first, then update configuration if needed and then replace docker image in operator deployments. And of course do this in a test environment first and then in production. And regarding logical backup not working some more details (logs) would be helpful. Did you also remove the existing cron job? |
thanks, just want to upgrade to the closest version to 1.4.0 with the fix for cron job so 1.5.0 is chosen
I did not remove the existing cron job, just updated the configmap and deleted the operator pod, is it required? if so I will try again |
Please, answer some short questions which should help us to understand your problem / question better?
registry.opensource.zalan.do/acid/postgres-operator:v1.4.0
K8s
yes
question
I encountered
/dump.sh: line 56: LOGICAL_BACKUP_PROVIDER: unbound variable
and changed logical_backup_docker_image manually to "registry.opensource.zalan.do/acid/logical-backup:master-58" solved the issue.So I went to add
"logical_backup_docker_image": "registry.opensource.zalan.do/acid/logical-backup:master-58"
into postgres-operator configmap, but it still use default value in log
"LogicalBackupDockerImage\": \"registry.opensource.zalan.do/acid/logical-backup\"
my question is How to add
logical_backup_docker_image
so operator v1.4.0 can load it?postgres-operator image is 'registry.opensource.zalan.do/acid/postgres-operator:v1.4.0'
the other 2 configs FYI
"connection_pooler_image": "registry.opensource.zalan.do/acid/pgbouncer:master-6",
"docker_image": "registry.opensource.zalan.do/acid/spilo-12:1.6-p2",
The text was updated successfully, but these errors were encountered: