Postgres on VMs while etcd in kubernetes #661
Replies: 1 comment 2 replies
-
@ahussainrc postgresql_cluster does not support integration with Kubernetes most likely you are interested in the kubernetes option and not etcd3, which is used for the You can try to specify the options you need directly in the configuration template file - https://github.com/vitabaks/postgresql_cluster/blob/master/roles/patroni/templates/patroni.yml.j2 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My Setup:
Question:
Below section of main.yml file expects host and port of all etcd servers but in my case etcd servers are kubernetes pods.
Can I just add k8s service IP in etcd host list ?
For Patroni, there will be only one host for etcd (not sure if it works).
Additional Notes:
1. Reason to setup etcd is to avoid creating and maintaining separate VMs for etcd as k8s cluster is already there, and I can have large no of replicas for etcd.
2. Postgres servers are NOT in kuberenetes on purpose.
Beta Was this translation helpful? Give feedback.
All reactions