Loadbalancer container on Hyper.sh
2.9K
Load balance on hyper.sh cloud.
HTTP example:
hyper run -itd -p 80 nginx
hyper run -itd -p 80 httpd
hyper run -e HYPER_ACCESS_KEY=ak -e HYPER_SECRET_KEY=sk -itd -p 80:80 hyperhq/service-loadbalancer dumb-init /service-loadbalancer --server=tcp://us-west-1.hyper.sh:443 --service-port=80 --container-port=80 --algorithm=roundrobin --health-check-fall=3 --health-check-interval=5 --health-check-rise=2 --protocol=http --server-version=1.23 --session-affinity=true --labels='app=nginx'
HTTPS Termination:
hyper run -e HYPER_ACCESS_KEY=ak -e HYPER_SECRET_KEY=sk -itd -p 443 hyperhq/service-loadbalancer dumb-init /service-loadbalancer --server=tcp://us-west-1.hyper.sh:443 --service-port=443 --container-port=80 --algorithm=roundrobin --health-check-fall=3 --health-check-interval=5 --health-check-rise=2 --protocol=httpsTerm --server-version=1.23 --session-affinity=true --ssl-cert="xxxx" --labels='app=nginx'
Content type
Image
Digest
Size
149 MB
Last updated
almost 10 years ago
docker pull hyperhq/service-loadbalancer