Sign inSign up

yotronpublic/loadbalancer

By yotronpublic

•Updated almost 5 years ago

This is a simple loadbalancer based on haproxy. No configuration needed.

Image
0

1.1K

yotronpublic/loadbalancer repository overview

yotron

⁠Simple LoadBalancer

This is a simple Loadbalancer based on haproxy. Add your loadbalanced servers in the environment variable "server". It is working on transport level of the OSI model and will loadbalance everything what reach the balancer (e.g., http, https)

Here is an example how to start the LoadBalancer in your Docker environment. Please be aware that the server endpoints must be reachable. The LoadBalancer is listening on port :6443:

docker run --rm -d \
    -p 1443:6443 \
    -e server=172.18.18.101:443,172.18.18.102:443,172.18.18.103:443 \
    --name loadbalancer \
    haproxykuberentes:latest

The load balancer is now reachable via

curl -k http://localhost:1443/

⁠about us

YOTRON⁠ is a service provider and consultancy company which is focused on DevOps, Cloud, Kubernetes. Visit us on www.yotron.de ⁠

Tag summary

Content type

Image

Digest

Size

37.7 MB

Last updated

almost 5 years ago

docker pull yotronpublic/loadbalancer