Forum Discussion
mgbee8
Nimbostratus
Jul 10, 2025Implement load balancing solution with constraints
We have three (3) clustered Postgres servers with an endpoint on each at Port 9201 that responds with the word master in the TCP response if that server is the Primary in the cluster telnet fred 920...
Injeyan_Kostas
Nacreous
Jul 10, 2025Hello mgbee8
you could just create 3 http monitor and configure "master" as a valid response
Each one should have one site's postgress IP as alias IP and alias port 9201
Then assing each monitor to the appropriate k8s pool member
this way only one k8s pool member will be considered active, as the other 2 will fail their monitor.
I assumed that you have one pool with all 3 k8s
if you have 3 different pools you will probably need an irule also to check which pool is active
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects