Using PostgreSQL for Controller DB

Hi All,

Lately i am doing my HA setup and after many hours of exploring i managed to get first controller up. I setup a HA cluster of postgresql and wanted to use it as db backend but whenever i start controller it always use local db / raft db etc.

I couldn't find any guide on this part hence I wonder if there's anyone here to provide some guidance ?

Regards

ok. I proceeded to use bolt db since successfully setup using own PKI (not from quickstart).
works well for failover. Nevertheless if there's future update to use Postgresql or Mariadb etc. Love to try it.

It's possible we'll abstract out the DB and/or switch the db backend at some point in the future, but it would be a fair amount of work. If we do, I'm sure there'll be release notes, migration guides, blog posts, etc, so it shouldn't pass you by.

Paul

2 Likes