openelb

by KubeSphere

Helm chartv0.2.4App 0.4.4Verified publisher

Bare Metal Load-balancer for Kubernetes Cluster

About this chart

openelb chart


Introduction

OpenELB is an open source load balancer designed for bare metal Kubernetes clusters. It's implemented by physical switch, and uses BGP and ECMP to achieve the best performance and high availability.


Prerequistes

  • kubernetes >= 1.15

  • helm3


Installing the Chart

Note: this chart is only supported by helm3

helm repo add test https://charts.kubesphere.io/test
help repo update
helm install openelb test/openelb

Uninstalling the Chart

To uninstall/delete the openelb release:

helm del openelb

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the MSOMS chart and their default values.

ParameterDescriptionDefault
manager.image.repositorymanager image name.kubesphere/openelb
manager.image.tagmanager image tag.v0.4
manager.image.pullPolicymanager image pull Policy.IfNotPresent
manager.resourcesopenelb manager resource requests and limits{}
manager.nodeSelectorNode labels for pod assignment{}
manager.terminationGracePeriodSecondsWait up to this many seconds for a broker to shut down gracefully, after which it is killed10
manager.tolerationsList of node tolerations for the pods. https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/[]
manager.serviceAccount.nameName of Kubernetes serviceAccount.default
manager.serviceAccount.createWhether to create a serviceaccountfalse
manager.apiHostsGoBGP will listen to the address.:50051
manager.readinessPortThe openelb manager readinessprobe listens to addresses.8000

Specify parameters using --set key=value[,key=value] argument to helm install

Alternatively a YAML file that specifies the values for the parameters can be provided like this:

$ helm install --name my-openelb -f values.yaml test/openelb

Deploy openelb with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has openelb on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartopenelb is pinned at v0.2.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply