Quickstart
Run Lembos on your laptop, on a local k3s cluster.
This puts a complete Lembos on a local Kubernetes cluster: one pod per service, PostgreSQL, Redis and Temporal beside them, a mail catcher for invitations, and TLS from a certificate authority the install generates. It is the fastest way to see the Portal with your own eyes.
What you need
- Helm 3 and
kubectl - Git, to fetch the chart
- A k3s cluster with about 4 CPUs and 8 GiB of memory to spare:
1. Install
git clone https://github.com/lembosproj/deploy && cd deploy
helm repo add dandydeveloper https://dandydeveloper.github.io/charts
helm repo add temporal https://go.temporal.io/helm-charts
helm dependency build charts/lembos
helm upgrade --install lembos charts/lembos -n lembos --create-namespace \
-f charts/lembos/values-k3s.yaml2. Let the cluster find itself
Once per cluster, restart CoreDNS so *.lembos.localhost resolves to the ingress inside the cluster as well
as outside it:
kubectl -n kube-system rollout restart deployment/coredns3. Wait for it to come up
kubectl -n lembos get pods -wThe first install takes a few minutes, most of it pulling images. Some services restart once or twice while they wait for the database and Temporal to accept connections — that is expected.
4. Trust the certificate
Every address is served with a certificate from a CA the install generated. Trust it once:
kubectl -n lembos get secret lembos-ingress-ca -o jsonpath='{.data.ca\.crt}' | base64 -d > lembos-ca.crtsudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain lembos-ca.crtFirefox keeps its own store: import the file under Settings → Certificates.
5. Sign in
Open https://portal.lembos.localhost and sign in as [email protected].
The password was generated for you:
kubectl -n lembos get secret lembos-secrets -o jsonpath='{.data.identity-admin-password}' | base64 -d; echo| What | Where |
|---|---|
| Portal | https://portal.lembos.localhost |
| Sign-in | https://identity.lembos.localhost |
https://mail.lembos.localhost | |
| Workflows | https://temporal.lembos.localhost |
Invitations, confirmations and password resets land in the mail catcher; nothing leaves the cluster.
Want something to look at?
The catalog starts empty. To explore with a sample organisation — an invented retailer with systems,
components, APIs and a two-region production environment — add --set orchestrator.sampleData=true to
the install command.
Clean up
helm uninstall lembos -n lembos # keeps the generated secrets and the data
kubectl delete namespace lembos # removes everything, the CA included