Comments (10)
Hi @snoop2048 ,
Thanks for connecting with us, and yes, we are currently only support single hostname for Postgres server.
If we can only use a single IP must we manually repoint harbor if the DB switches its active node?
I am not recommend to do so even you have tools to handle this 'ip' changes. Since there's might be some concerned with the data inconsistent during the transit.
But if you have handy experience on this, welcome to sharing with the community!
from harbor.
Hey, thanks for coming back to me. pgpool negates the need to an external LB for the postgres cluster as it handles loadbalancing itself (amongst other things). Adding another LB (HAproxy or whatever) in front of is probably going to just cause issues. Admittedly getting slightly out of my depth here given I am not a DB engineer but I will try and get one to comment.
from harbor.
So harbor does not support any sort of HA Postgres backend?
from harbor.
Not exactly, I will take a look later
from harbor.
I am not sure how your pgpool
is configured. But theoretically, if you set up a load balancer
in front of your pg service, I think one single hostname for pg is enough. And you don't need to worry about fail over handle and synchronization of the db.
from harbor.
Thanks @snoop2048 ,
I am not familiar with the pgpool usage as well. All this LB
things is just based on my assumption.
So If you have any progress or experience here, please share with users who have the same doubt.
I will keep this issue open for further discussion and references.
Best,
Miner
from harbor.
In terms of HA, I'm running Postgresql in HA with Patroni (using k8s operator) with no issues for the past year
from harbor.
Regarding High Availability (HA), pgpool appears to function similarly to other PostgreSQL balancers such as pgbouncer. It's recommended to deploy a standalone pgpool for managing multiple databases. Clients can then connect to a single pgpool instance, which distributes the load across all databases it serves.
You might find valuable insights in this discussion: Postgres with pgpool Architecture.
Thanks.
from harbor.
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.
from harbor.
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.
from harbor.
Related Issues (20)
- GAR is not working in proxy-cache through mode
- Login to Harbor reports password error HOT 2
- HARBOR configured with MINIO via HTPPS - (HTTP status: 500 Internal Server Error") HOT 3
- Access ID and Secret for replication to another harbor instance HOT 1
- Replication filter - exclude by name/label HOT 1
- Dependency images for e2e test should be maintained in the harbor repo.
- REST API response typo HOT 2
- harbor on vsphere HOT 3
- Wrong project name pattern exp
- Perf: When a performance case fails, you should be able to choose whether to continue
- Garbage Collection in Harbor Not Freeing Up Expected Storage Space While the UI Shows Space Has Been Freed Up HOT 2
- https://goharbor.io/docs/2.11.0/install-config/run-installer-script/ not synced with REPO HOT 2
- Retagged images no longer replicating after v2.11.1 upgrade HOT 6
- Robot Account and LDAP integration HOT 2
- https.certificate/private_key set in harbor.yml, but missing in docker-compose.py HOT 1
- internal network OSS HOT 1
- Rule management and hierarchy when multiple rules in place for the same project HOT 1
- Image push to Harbor registry takes a minimum of 30min and can go upto 45min also HOT 2
- create/update/delete of harbor image retention policy is not stable via api HOT 1
- replication get a lot of 401 errors, when two harbor instances are using the same redis HOT 2
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 harbor.