Deploy Kaeso on Kubernetes with the Helm chart
Install Kaeso 0.7.0 on a Kubernetes cluster with its Helm chart, against PostgreSQL, ClickHouse and Valkey you bring, behind an Ingress or a Gateway API route. Master keys, long streams, scaling, upgrades and what it costs.
- Published
- Reading time
- 8 min
- Author
- Kaeso Team

Since 0.7.0, every Kaeso release publishes a Helm chart next to its images, pinned to that release and signed the same way. It runs the gateway and the console on your cluster, behind your Ingress controller or a Gateway API implementation, against the PostgreSQL, ClickHouse and Valkey your team already runs. This guide installs it step by step and explains the parts that differ from a Compose install.
If you don't run Kubernetes yet, it is not the simplest way to start: one Linux server runs the same release with one command, and where to run Kaeso compares the paths.
What the chart creates01
| Resource | What it does |
|---|---|
| Gateway Deployment and Service | 2 replicas of kaeso-gateway on port 8080, ready on /readyz, alive on /healthz; non-root, read-only root file system, no capabilities |
| Console Deployment and Service | 2 replicas of kaeso-console on port 3000 |
| Migration Job | kaeso migrate, as a Helm hook before every install and upgrade reaches the gateways, so they never migrate side by side |
| Ingress, or HTTPRoute | The APIs to the gateway, every other path to the console, on one host |
| Metrics Service | Port 9100 only, so no route ever reaches the metrics; a ServiceMonitor is optional |
| PodDisruptionBudgets | At most one gateway and one console down at a time; a HorizontalPodAutoscaler is optional |
Secret <release>-generated | The master keys the chart made, kept on upgrades and after helm uninstall |
Kaeso's updater drives Docker and isn't part of the chart: a Helm install updates with helm upgrade, and the console's Updates page shows that command.
What you need02
- A cluster with Kubernetes 1.30 or later,
kubectl, and Helm 3.14 or later. Helm 4 works too. - An Ingress controller or a Gateway API implementation, and a certificate for the domain, such as one cert-manager (opens in a new tab) issues from Let's Encrypt.
- PostgreSQL, Valkey or Redis with
maxmemory-policy noeviction, and ClickHouse if you want request logs. Managed services or operators fit production; the chart's bundled copies are for trying Kaeso out. - An SMTP server for sign-in links, invitations and alerts.
What it costs
The chart and Kaeso are open source under the MIT licence; you pay for the cluster and the stores. As of November 2026, the managed control plane alone costs, per cluster:
- Amazon EKS
- Control plane
- $0.10 per hour in standard support
- Pricing page
- aws.amazon.com/eks/pricing (opens in a new tab)
- Google GKE
- Control plane
- $0.10 per hour, with a monthly credit that covers one zonal cluster per billing account
- Azure AKS
- Control plane
- No charge on the Free tier; the Standard tier is charged per cluster hour
- DigitalOcean Kubernetes
- Control plane
- No charge; $40 a month for a high-availability control plane
- Scaleway Kapsule
- Control plane
- No charge for the shared control plane; dedicated ones from €0.11 per hour
- OVHcloud Managed Kubernetes
- Control plane
- A plan without a control-plane charge, and a Standard plan charged per cluster hour
| Provider | Control plane | Pricing page |
|---|---|---|
| Amazon EKS | $0.10 per hour in standard support | aws.amazon.com/eks/pricing (opens in a new tab) |
| Google GKE | $0.10 per hour, with a monthly credit that covers one zonal cluster per billing account | cloud.google.com/kubernetes-engine/pricing (opens in a new tab) |
| Azure AKS | No charge on the Free tier; the Standard tier is charged per cluster hour | azure.microsoft.com/pricing/details/kubernetes-service (opens in a new tab) |
| DigitalOcean Kubernetes | No charge; $40 a month for a high-availability control plane | digitalocean.com/pricing/kubernetes (opens in a new tab) |
| Scaleway Kapsule | No charge for the shared control plane; dedicated ones from €0.11 per hour | scaleway.com/en/pricing/containers (opens in a new tab) |
| OVHcloud Managed Kubernetes | A plan without a control-plane charge, and a Standard plan charged per cluster hour | ovhcloud.com/en/public-cloud/kubernetes (opens in a new tab) |
Worker nodes, load balancers, volumes, traffic and managed databases cost extra everywhere. The chart's defaults request 0.5 CPU and 1 GiB for two gateways and a little for two consoles, so two small nodes hold Kaeso itself. Prices change; check the provider's page before you decide.
1. Choose how traffic reaches Kaeso03
Kaeso streams model replies, which can stay silent for minutes between chunks, and accepts image and audio uploads up to 64 MiB. Whatever sits in front of it must let both through.
- Gateway API. The Kubernetes project recommends it for new clusters, and the chart creates an
HTTPRoutewhen you sethttpRoute.enabled. SethttpRoute.timeoutsto{ request: "0s" }to turn the route's timeout off. That field is an optional feature: Envoy Gateway, Istio and kgateway report support for it in the Gateway API conformance reports (opens in a new tab), while others, such as Traefik and NGINX Gateway Fabric, take timeouts in their own policy resources. See HTTP timeouts (opens in a new tab). - Ingress. The chart creates an
Ingressby default. For a class whose name containsnginx, it sets ingress-nginx's timeouts fromingress.streamTimeoutSeconds(an hour), its body limit to 64 MiB and buffering off. For any other controller, such as Traefik, set the same in its own annotations underingress.annotations(long streams (opens in a new tab)).
The community ingress-nginx controller was retired in March 2026 and no longer gets fixes (Kubernetes blog (opens in a new tab)). If your cluster still runs it, the chart works with it, but plan the move to another controller or to the Gateway API.
2. Put the store addresses in Secrets04
The gateway reads each store's connection URL from a Secret, never from the chart's values:
kubectl create namespace kaesokubectl --namespace kaeso create secret generic kaeso-stores \ --from-literal=postgres='postgres://kaeso:<password>@postgres.example.com:5432/kaeso' \ --from-literal=clickhouse='https://kaeso:<password>@clickhouse.example.com:8443' \ --from-literal=valkey='rediss://:<password>@valkey.example.com:6380'kubectl --namespace kaeso create secret generic kaeso-smtp --from-literal=password='<password>'A PostgreSQL user that owns its database is enough; it needn't be a superuser, as in the Compose package. Leave out clickhouse to keep no request logs: usage, limits and budgets work the same. For a Valkey whose certificate comes from a private authority, put the authority's PEM in valkey.ca.
3. Write the values05
With an Ingress and cert-manager:
publicUrl: https://kaeso.example.compostgres: { existingSecret: kaeso-stores, key: postgres }clickhouse: { existingSecret: kaeso-stores, key: clickhouse }valkey: { existingSecret: kaeso-stores, key: valkey }mail: smtp: host: smtp.example.com user: kaeso@example.com from: Kaeso <kaeso@example.com> password: { existingSecret: kaeso-smtp, key: password } setupEmail: owner@example.comingress: className: traefik tls: certManager: { issuer: letsencrypt }With the Gateway API, replace the ingress block:
ingress: enabled: falsehttpRoute: enabled: true parentRefs: - name: public namespace: gateway-system timeouts: { request: "0s" }setupEmail makes the gateway email the one-time setup link at every start until the first user exists. It needs mail.transport: smtp, the default; with log, the gateway refuses to start, so leave setupEmail out there. helm show values oci://ghcr.io/logicplanes/charts/kaeso --version 0.7.0 lists every value with what it does, and the chart checks your values against its schema, so a misspelled key fails the install instead of being ignored.
4. Install06
helm install kaeso oci://ghcr.io/logicplanes/charts/kaeso --version 0.7.0 \ --namespace kaeso --values values.yaml --waitHelm runs the migration Job first, then starts the gateways and consoles. When it returns, print the setup link if it didn't arrive by email, and open it to create the first user:
kubectl --namespace kaeso exec deployment/kaeso-gateway -- kaeso setup-linkHelm prints the same commands after the install. The link works once, for 24 hours.
5. Keep the master keys07
The master keys encrypt the provider keys Kaeso stores. Without masterKeys.existingSecret, the chart makes one on the first install, keeps it in kaeso-generated on every upgrade and leaves it behind on helm uninstall. Copy it into a password manager now:
kubectl --namespace kaeso get secret kaeso-generated -o jsonpath='{.data.master-keys}' | base64 -dA tool that renders the chart without the cluster, such as Argo CD, can't see the key the chart made last time. Give it a Secret of your own instead, and set masterKeys.existingSecret: kaeso-master-keys:
kubectl --namespace kaeso create secret generic kaeso-master-keys \ --from-literal=master-keys="$(docker run --rm ghcr.io/logicplanes/kaeso-gateway:0.7.0 master-key generate)"Settings08
The chart sets what Kubernetes decides and leaves the rest to you:
gateway.envtakes any setting (opens in a new tab) as a variable, andgateway.extraEnvFromtakes them from a Secret or ConfigMap.gateway.configtakes settings in the configuration file's form, such as{ upstream: { request_timeout: 900s } }; a change restarts the gateways.gateway.trustedProxiesnames the networks whoseX-Forwarded-Forthe gateway believes. The default covers the private ranges; name your controller's pod network to be exact.serviceAccount.annotationsgives the pods a cloud identity, such aseks.amazonaws.com/role-arnfor Amazon Bedrock keys that sign in as the gateway's AWS role.
Guardrails and webhooks that your organizations point at services inside the cluster need their network in KAESO_GUARDRAILS_ALLOWED_NETWORKS or KAESO_WEBHOOKS_ALLOWED_NETWORKS; otherwise the gateway reaches only public HTTPS addresses. For traces, set KAESO_OTEL_ENDPOINT to your collector.
Scale and watch09
gateway.replicaCount sets the number of gateways, or gateway.autoscaling.enabled scales them on CPU between minReplicas and maxReplicas. They share limits, caches and route cooldowns through Valkey. A stopping gateway keeps taking connections for gateway.preStopSeconds, then finishes its streams within 75 seconds, so rollouts and node drains don't cut requests (scaling (opens in a new tab)).
Prometheus scrapes the Service kaeso-gateway-metrics on port 9100; with the Prometheus Operator, gateway.metrics.serviceMonitor.enabled creates the ServiceMonitor (health and metrics (opens in a new tab)).
Back up10
Back up PostgreSQL and, if you keep request logs, ClickHouse, with the tools your team uses for them, such as the managed service's snapshots or your operator's backups. Valkey holds only counters and caches. Keep the master keys apart from the backups: without them, the provider keys in a backup can't be read (backups and master keys (opens in a new tab)).
Upgrade to the next release11
Read the release notes, back up PostgreSQL, then:
helm upgrade kaeso oci://ghcr.io/logicplanes/charts/kaeso --version <version> \ --namespace kaeso --reset-then-reuse-values --waitThe migration Job runs once; the gateways roll over only after it succeeded, and an upgrade whose migration fails changes nothing. A release whose notes ask for it, or a new major version, can ask that no old gateway runs while it migrates: scale the gateways to 0 with kubectl --namespace kaeso scale deployment/kaeso-gateway --replicas 0 first. Migrations only move forward, so a rollback past one means restoring the database backup.
Before you upgrade from 0.6 to a later release, note that 0.7.0 refuses KAESO_KPMR_INTERVAL below 5m, KAESO_MCP_SERVERS_SYNC_INTERVAL below 1m, and an SMTP user without a password; check gateway.env and gateway.config for them. You can test your settings without the cluster: docker run --rm --env-file kaeso.env ghcr.io/logicplanes/kaeso-gateway:<version> config check prints the error the gateway would stop with.
Try it out on a test cluster12
bundled.enabled: true runs one copy each of PostgreSQL, ClickHouse and Valkey inside the release, with passwords the chart makes:
publicUrl: https://kaeso.example.combundled: { enabled: true }mail: { transport: log }ingress: className: traefik tls: { secretName: kaeso-tls }The bundled stores have no replicas and no backups, and they need the capabilities the Compose package gives them, so a namespace that enforces the restricted Pod Security Standard (opens in a new tab) refuses them. Kaeso's own pods pass it.
Uninstall13
helm uninstall kaeso --namespace kaeso removes the workloads. It keeps kaeso-generated and the bundled stores' volumes, so installing again in the namespace finds both. Delete them yourself when you really want the data gone.
Troubleshooting14
| What you see | What to do |
|---|---|
| The install fails on a value | The chart's schema names the key. helm show values lists the right ones |
| The migration Job fails | kubectl --namespace kaeso logs job/kaeso-migrate names the store it couldn't reach |
| Gateways restart | kubectl --namespace kaeso logs deployment/kaeso-gateway shows the setting it refused and how to fix it |
| Streams stop after a minute | The controller's or route's timeout cuts them; see step 1 |
| Uploads fail with 413 | The controller's body limit is below 64 MiB |
| The setup link never arrives | Leave out setupEmail and print the link with kaeso setup-link as in step 4, then fix SMTP |
What was tested15
For this guide, the published chart oci://ghcr.io/logicplanes/charts/kaeso 0.7.0 was pulled and rendered with Helm 4.3.2 with the values above: an Ingress with cert-manager, a Gateway API route, and the bundled stores. Every manifest passed kubeconform against the Kubernetes 1.30 schemas, and a misspelled value was refused by the schema. Each Kaeso release's CI installs the chart on a kind cluster with the bundled stores, creates the first user, sends a request and finds it in the request log, then upgrades while requests keep running without one failing. The chart has not been installed on a managed cluster such as EKS, GKE or AKS yet. If you run it there, tell us how it went.
Next steps16
- Kubernetes in the docs (opens in a new tab), with every value.
- Upgrades (opens in a new tab): what a release changes before you upgrade.
- Where to run Kaeso: how Kubernetes compares with the other paths.
Product names in this guide belong to their owners and are used only to name the software and services involved. Kaeso is not affiliated with or endorsed by them.
By Kaeso Team


