Zalando postgres operator integration #698

Closed
opened 2024-08-15 09:05:14 +00:00 by caniko · 4 comments
caniko commented 2024-08-15 09:05:14 +00:00 (Migrated from gitea.com)

I am planning to setup my own K8 cluster, and wanted to use zalando postgres operator for my projects including my own gitea instance.

The operator uses a master slave configuration, meaning there is one write-read db, and a bunch of read dbs. May gitea helm chart utilize this composition? From what I read in the README, no.

I like this solution a lot considering that the operator is a well-functioning product, and I will use it in other projects too. Thanks.

I am planning to setup my own K8 cluster, and wanted to use [zalando postgres operator](https://github.com/zalando/postgres-operator) for my projects including my own gitea instance. The operator uses a master slave configuration, meaning there is one write-read db, and a bunch of read dbs. May gitea helm chart utilize this composition? From what I read in the README, no. I like this solution a lot considering that the operator is a well-functioning product, and I will use it in other projects too. Thanks.
justusbunsi commented 2024-08-15 17:51:33 +00:00 (Migrated from gitea.com)

Should be working when following https://gitea.com/gitea/helm-chart#external-database. Additionally you have to add

postgresql-ha:
  enabled: false

Seems this is missing in the documented snippet.

Should be working when following https://gitea.com/gitea/helm-chart#external-database. Additionally you have to add ```yaml postgresql-ha: enabled: false ``` Seems this is missing in the documented snippet.
caniko commented 2024-08-16 06:51:36 +00:00 (Migrated from gitea.com)

Can I define a DB connection for write and another for read?

Can I define a DB connection for write and another for read?
justusbunsi commented 2024-08-16 08:23:01 +00:00 (Migrated from gitea.com)

I am not aware that Gitea is capable of two different connections natively. Maybe you have to put a proxy in front of your DB to route such requests accordingly.

I am not aware that Gitea is capable of two different connections natively. Maybe you have to put a proxy in front of your DB to route such requests accordingly.
pat-s commented 2024-08-25 13:53:20 +00:00 (Migrated from gitea.com)

Seems like all questions have been answered.

Seems like all questions have been answered.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lunny/helm-chart#698
No description provided.