Sign inSign up

moshloop/tcp-loadbalancer

By moshloop

Updated over 7 years ago

Image
0

100K+

moshloop/tcp-loadbalancer repository overview

tcp-loadbalancer

Dynamic TCP load balancer using HAProxy and consul-template. Designed to be used for discovering and load balancing across kubernetes masters.

Loosely modelled after https://github.com/CiscoCloud/haproxy-consul

docker run --rm -e SERVICE_NAME=cluster-c -e CONSUL_CONNECT=consul:8500 moshloop/tcp-loadbalancer
VariableDescriptionDefault
PORTThe port to listen on8443
SERVICE_NAMEThe consul service to load balance
CONSUL_CONNECTThe consul connectionconsul.service.consul:8500
CONSUL_LOGLEVELValid values are "debug", "info", "warn", and "err".debug
CONSUL_TOKENThe Consul API token

Tag summary

Content type

Image

Digest

Size

79.6 MB

Last updated

over 7 years ago

docker pull moshloop/tcp-loadbalancer