reactive-tech / kubegres

Kubegres is a Kubernetes operator allowing to deploy one or many clusters of PostgreSql instances and manage databases replication, failover and backup.
https://www.kubegres.io
Apache License 2.0
1.32k stars 74 forks source link

Backup container not being upgraded when Postgres is being upgraded. #142

Open samstride opened 1 year ago

samstride commented 1 year ago

Hi,

Just documenting this so that it can be fixed when you guys have a chance.

As an example, install Postgres 14.1. Backup container uses Postgres 14.1. Then upgrade to 14.2. DB containers are upgraded to 14.2, but backup container is still at Postgres 14.1.

Thanks.

alazycoder101 commented 1 year ago

It seems that the CronJob spec is not changed, it must be something wrong with the manager

kubectl get pod -n kubegres-system and check the logs? or you can delete the cronjob and let the controller to create a new one with latest image url.