porter

by KubeSphere

Helm chartv0.2.2App 0.4.3Verified publisher

Bare Metal Load-balancer for Kubernetes Cluster

About this chart

porter chart


Introduction

Porter 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 porter test/porter

Uninstalling the Chart

To uninstall/delete the porter release:

helm del porter

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.kubespheredev/porter
manager.image.tagmanager image tag.v0.4
manager.image.pullPolicymanager image pull Policy.IfNotPresent
manager.resourcesporter 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 porter 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-porter -f values.yaml test/porter

Deploy porter with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has porter 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 chartporter is pinned at v0.2.2 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