#Kubernetes Deployment

1 messages Β· Page 1 of 1 (latest)

placid geyser
#

Hello @robust thorn , did you encounter this problem only with this request?

#

Additionally, when you look at your database, can you see if the migration has been successfully completed?

robust thorn
#

Actually I can only do the /healthz api, everything works fine again when I remove configMap, so I think I am wrong in some configuration step

#

When I run migrate, I only see the migration table generated so I think from this step I was wrong

placid geyser
#

From what I understand, the problem is that the tables are not being migrated correctly. It should work by default with autoMigrate=true, but I want to add this flag to the config map and try again. Afterward, the tables should have been migrated. Please set PERMIFY_DATABASE_AUTO_MIGRATE=true

robust thorn
#

i already added 'PERMIFY_DATABASE_AUTO_MIGRATE=true' to the configMap, but when I redeploy it everything is the same. Specifically, in my postgresql db only created 1 more migration table with 1 line of data as follows

placid geyser
#

Can I know the version of PostgreSQL you are using, and can you see logs in PostgreSQL?

robust thorn
#

I'm using version: 'PostgreSQL 12.11 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-12), 64-bit', (get result from command: SELECT version();) it is an RDS service and I don't know how to check its log.

placid geyser
#

Can you update the PostgreSQL version to 13.8 or higher?

robust thorn
#

i am not authorized to update it, is this problem related to the version of postgresql?

placid geyser
#

Yes, I believe the source of the problem is the version, and our minimum PostgreSQL support is 13.8.

robust thorn
#

Thanks for the help, I've got the problem. If I have a problem in the future, I will come back. Thanks, againπŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘