KgLb Build Test Lint

KgLb is L4 a load balancer built on top of linux ip virtual server (ip_vs).

KgLb image

It provides rich functionality such as discovery, health checks for real servers, automatically update their weights based on status, and apply all required changes to make ipvs alive including registering virtual services, updating reals and adding required vip addresses.

Overview

KgLb consists of two key components called Control Plane and Data Plane. Both components are written as libraries and based on a few modules which follow predefined interfaces. Next picture shows high-level overview of KgLb internals. design

Requirements

Supported features

Installation

# Compile protobufs
pushd ./proto
protoc --go_out=. ./dropbox/proto/kglb/healthchecker/healthchecker.proto
protoc --go_out=. ./dropbox/proto/kglb/*.proto
popd

# Compiling
go build -o kglbd.bin ./kglbd

Quick start

sudo ./kglbd.bin -config=./examples/example_config.json -logtostderr

Next Steps