How to configure Kubernetes Answer deployment for HA

Viewed 62

I am trying to run multiple pods of Answer , I have managed persistance in Postgress, Search in opensearch and also installed Redis Plugin for cache.

But when I run multiple instances they are misbehaving and login is not success. I suspect Database tables are overwritten by instances and creating issues.

Please guide me what could be best procedure to achieve HA in Answer in my Own setup.

We need more log information to determine what issue is causing the login failure. In multi-instance scenarios, your database will not be overwritten. Of course, your solution is fine. We also deploy in Kubernetes and use Redis, MySQL, S3 and Elasticsearch.

It's likely that the login failure was caused by Redis not connecting properly beforehand. This is because when using Redis, user login credentials are cached.

thanks, I could do it with cache "type: memory" and running multiple instance of Answer connected to same database.

0 Answers