llo-nats

by Eclipse aeriOS

Helm chartv1.0.0App 2.11.4Apache-2.0Verified publisher

A Helm chart for the NATS broker used by the aeriOS LLOs

About this chart

aeriOS LLO NATS Broker

A NATS broker is used by all the aeriOS LLO types (expect the LLO K8s) to stablish asynchronous communication between the LLO Operator (deployed in the K8s cluster of the domain) and the LLO Controller (deployed in each IE that must be controlled by this LLO type).

The same NATS broker can be used by multiple LLOs, so it is not necessary to deploy a new NATS broker for each LLO type.

Helm chart

A custom and simple Helm chart is provided to deploy the NATS broker in the K8s cluster of the domain, in which the K8s Operators of the different LLOs should be installed. The chart is located in the helm-chart directory.

This chart uses by default the port 30222 (as NodePort) to expose the NATS service, so the NATS broker will be available at nats://<k8s-node-ip>:30222.

helm repo add eclipse-aerios https://eclipse-aerios.github.io/resources/charts
helm install llo-nats eclipse-aerios/llo-nats --debug

Deploy llo-nats with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has llo-nats 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 chartllo-nats is pinned at v1.0.0 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