liftbridge

by neil-pozetroninc

Helm chartv0.1.1App v1.1.0Apache-2.0

Liftbridge helm chart for kubernetes

About this chart

liftbridge-helm-chart

A Helm Chart to bring up liftbridge.io on a Kubernetes cluster.

Prerequistes

NATS should already be deployed. If it's not you can install it with the following.

$ helm repo add nats https://nats-io.github.io/k8s/helm/charts/
$ helm repo update
$ helm install nats-cluster --namespace nats-io --set cluster.auth.enabled=true,cluster.auth.username=my-user,cluster.auth.password=T0pS3cr3t nats/nats --create-namespace

Deploy

$ helm repo add pozetron https://www.pozetron.com/helm
$ helm repo update
$ helm search repo pozetron
$ helm upgrade --install liftbridge --namespace liftbridge-io pozetron/liftbridge --create-namespace   

Chart Values

KeyTypeDefaultDescription
replicaCountint3Number of Pods to create.
liftbridge.portint9092Port for liftbridge
liftbridge.loglevelstring"info"Log level for liftbridge logging
liftbridge.minInsyncReplicasint1Min number of replicas of data More info
nats[]listList of nats addressList of nats addresses, port and auth
nats[].addressstringnats-cluster.nats-io.svcAddress/hostname to the running nats cluster
nats[].portint4222Port of the nat cluster
nats[].port.auth.enabledbooleantrueSet to true if NATS cluster is secured by authentication
nats[].port.auth.usernamestringmy-userUsername for the NATS cluster
nats[].port.auth.passwordstring-"Username for the NATS cluster"
image.repositorystring"pozetroninc/liftbridge"The Docker (Hub) repository for the image.
image.tagstring""The version of KeyDB to install e.g. "v5.3.3"
persistence.enabledboolfalse
persistence.sizestring1GHow much persistent storage for each pod.
persistence.accessModestringReadWriteOnceThe storage class

Contributors

Special thanks to: Hazim

Deploy liftbridge with OpenTenant

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