Sign inSign up

xdays/dlb

By xdays

•Updated about 9 years ago

Dynamic Load Balancer based on OpenResty

Image
0

1.9K

xdays/dlb repository overview

⁠DLB

Dynamical Load Balancer based on OpenResty

⁠Feature

  • dynamic upstream based on host and url
  • dynamic ssl cert
  • support both swarm mode and kubernetes

⁠Build

version=`git rev-parse --short HEAD`
docker build -t dlb:$version .

⁠Run

Please refer README for Kuernetes Cluster⁠ and Swarm Mode⁠ on how to launch DLB.

⁠Backend

Please refer README for Kuernetes Cluster⁠ and Swarm Mode⁠ on the backend requirements.

⁠Metadata

Your need to attach some metadata to your applicaitons:

  • annotation for k8s
  • label for swarm mode

The available metadata is:

keyvalue
hosthttp host you apps serve
protoprotocol, https or http
urlhttp url you apps serve
rewriteenable or disable url rewrite, 0 disable or 1 enable

Tag summary

Content type

Image

Digest

Size

126.9 MB

Last updated

about 9 years ago

docker pull xdays/dlb