BCDevOps / platform-services

Collection of platform related tools and configurations
Apache License 2.0
13 stars 29 forks source link

Create Patroni Operator #495

Open j-pye opened 4 years ago

j-pye commented 4 years ago

Is your feature request related to a problem? Please describe. Currently, creating Patroni Deployments is a heavy manual process that involves deploying patronis pre-requisites, the patroni deployment itself, configuring customization such as synchronous replication, and setting up backups.

Many of our applications and security tools utilize patroni but require duplication of code for automated ansible deployments so one of the secondary goals is to remove code duplication and allow for cleaner deployments.

Definition of Done The operator does the following:

jefkel commented 4 years ago

Something to look into as it's already under development by the original author.

https://operatorhub.io/operator/postgres-operator

stewartshea commented 4 years ago

It's been available for over a couple years, but at the time, our kube version wouldn't support it. Definitely don't rewrite, just consume :)

Shea Stewart, Partner Arctiq: Intelligent Architecture shea.stewart@arctiq.ca +1-647-972-5191 http://www.arctiq.ca Book at meeting here: https://x.ai/calendar/sheastewart

On Thu, Apr 30, 2020 at 4:49 PM Jeff notifications@github.com wrote:

Something to look into as it's already under development by the original author.

https://operatorhub.io/operator/postgres-operator

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BCDevOps/platform-services/issues/495#issuecomment-622178898, or unsubscribe https://github.com/notifications/unsubscribe-auth/AELXHOAOJBDW2MY6JWXGZZLRPIFCFANCNFSM4JPZGGBQ .

j-pye commented 4 years ago

Agreed :) Keep it simple, use what's available now.

postgres-operator was not working on OCP last time I looked at it but it looks like it has had a lot of improvements since I created this ticket. I tested out Crunchy Data's postgres operator and it worked nicely so that may be an option too.