简体   繁体   English

Helm Chart 可用于 Openshift 上的高可用 PostgreSQL

[英]Helm Chart available for highly available PostgreSQL on Openshift

I was looking for options to run Postgres HA in production on Openshift.我一直在寻找在 Openshift 上的生产环境中运行 Postgres HA 的选项。

  1. I tried incubator/patroni chart(added sa and scc), but sometimes it runs properly and sometimes lock is not acquired either to master or replica instance of postgres.我尝试了incubator/patroni chart(添加了 sa 和 scc),但有时它运行正常,有时也没有为 postgres 的主实例或副本实例获取锁。 Also there is no way to create automatic schema.也没有办法创建自动模式。 Schema needs to be created manually by execing into the pod.架构需要通过执行到 pod 来手动创建。

  2. Again I tried stable/postgresql , still there are issues in the helm chart while running it on Openshift我再次尝试了stable/postgresql ,在 Openshift 上运行时,舵图中仍然存在问题

  3. I saw some helm charts for production grade setup such as Zalando Postgres Operator with Patroni and Crunchy Postgres Operator but through single helm chart I am not able to run full setup of highly available postgresql.我看到了一些用于生产级设置的舵图,例如带有 Patroni 的 Zalando Postgres OperatorCrunchy Postgres Operator,但通过单个舵图,我无法运行高度可用的 postgresql 的完整设置。 There are manual steps involved like installing pgo client and connectiong it to psql.涉及手动步骤,例如安装 pgo 客户端并将其连接到 psql。

So, is there any postgres highly available helm chart which can be run in production on Openshift with 1 or 2 commands by just changing in values.yaml file.那么,是否有任何 postgres 高度可用的 helm chart 可以通过更改 values.yaml 文件在 Openshift 上使用 1 或 2 个命令在生产中运行。

Bitnami have many interesting helm chart, including one for PostgreSQL: Bitnami 有很多有趣的 helm chart,其中一个是针对 PostgreSQL 的:
https://github.com/bitnami/charts/tree/master/bitnami/postgresql https://github.com/bitnami/charts/tree/master/bitnami/postgresql
For HA: https://github.com/bitnami/charts/tree/master/bitnami/postgresql-ha对于 HA: https : //github.com/bitnami/charts/tree/master/bitnami/postgresql-ha

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM