Comments (4)
Hi @CyberDem0n,
sorry for my late answer, I was quite busy last period. I will make a PR with the fix.
I am using Spilo both with Kubernetes and with 3 different instances of docker-compose (running on 3 different hosts). I need Postgres as a backend for Kong gateway with replication and self election. Furthermore I use HAProxy to point the Postgres' master, using a check on Patroni's port.
Kong instances will point to HAProxy.
The PR is the #197
from spilo.
Thanks @hjacobs, the project looks great. I will test it on my k8s cluster.
from spilo.
Hi @joe-pll,
configure_spilo.py tries to detect you environment (aws, gce, openstack, kubernetes). In case if it is something different, it assumes that you just start it in a docker container on your local machine and creates etcd.conf: https://github.com/zalando/spilo/blob/master/postgres-appliance/configure_spilo.py#L517 for supervisor.
You are actually right, if there is either ETCD_HOST
or ETCD_DISCOVERY_DOMAIN
environment variables set, configure_spilo.py should not create etcd.conf
Can you please create a PR fixing it?
And one more question, can you explain a little bit more about your setup? I am just curios, where and how do you run Spilo?
from spilo.
@joe-pll as you mention Kubernetes: please also check out our Postgres Operator for Kubernetes (it uses Patroni under the hood), we are currently migrating first production databases to it 🎉 👉 https://github.com/zalando-incubator/postgres-operator
from spilo.
Related Issues (20)
- Build from main fails on postgis HOT 2
- 'could not connect to Postgres database' on current master branch HOT 2
- Removing `metric_helpers` and `user_management` HOT 2
- Citus Support HOT 2
- Supporting running spilo docker image with rootless user HOT 1
- Proposal to add switches for not necessary extensions and tools (optional)
- Proposal to Build Spilo Image on RPM-based Base Image
- WAL-E clone GCS issue HOT 1
- Backups not being deleted as expected HOT 1
- Release date for next version of Spilo HOT 9
- Question: Can I use a nfs persistent volume? HOT 1
- Unable to connect to cluster from application but able to connect from within application container when tried manually
- Support different log rotation plan HOT 1
- Leader lost : PQconnectPoll on the db leader HOT 4
- Add pgx_ulid extension HOT 1
- pg_cron fails with returned message `connection failed` HOT 2
- missing github release for v3.1-p1 HOT 1
- The vector extension is unavailable in spilo-15:2.1-p9 HOT 2
- AWS IMDSv2 Support for environment detection
- Update spilo image to resolve some vulnerabilities HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spilo.