Requirements
- Helm 3.8+
- Kubernetes 1.28+ or OpenShift 4.14+
- For
mode: operatordata stores, the matching operator installed on the cluster
Quick start (bundled data stores)
The defaultbundled mode runs PostgreSQL (pgvector), MongoDB, and RabbitMQ as
StatefulSets the chart manages, the equivalent of Docker Compose USE_LOCAL_DB=true.
Clone the installer and build the chart dependency. Replace the example hostnames with your own DNS names and point them at an installed Ingress controller. The default Ingress class is nginx. Set ingress.tls.secretName if you use a TLS Secret in the release namespace. The certificate must cover all three hosts.
appVersion for all Kodus images, including the migration job. See the chart README for installing a published chart version from OCI.
Set NEXTAUTH_URL, API_FRONTEND_URL and API_USER_INVITE_BASE_URL to the public web URL. These values are used for sign-in, the GitHub App return URL, CLI login and invitations. If you use SAML SSO, also set global.config.API_URL to the public API URL.
Then open the web host, create your account and connect a model in AI providers. If you configure the model during installation, put its non-secret settings under global.config and its key under global.secrets. See LLM provider configuration.
Data store modes
Each store (postgres, mongodb, rabbitmq) has an independent mode:
For production, prefer
external or operator: they hand database operation to
something purpose-built. An external PostgreSQL needs the vector extension, and an
external RabbitMQ needs the delayed message exchange plugin, the kodus-ai and
kodus-ast virtual hosts and consumer_timeout = 7200000. The charts README lists the
prerequisites for each store.
For external Postgres that requires TLS, set global.config.API_DATABASE_DISABLE_SSL to "false".
OpenShift
OpenShift needs thevalues-openshift.yaml overlay from a checkout of the repository.
Routes replace Ingress, and pod UIDs are left to the namespace SCC (restricted-v2),
so no UIDs are hardcoded:
kodus-api.apps…. The
default wildcard certificate covers only one label, and a deeper host fails
TLS-verifying clients, including Git provider webhook delivery.
If OpenShift assigns the hostnames, get them with oc get route -n kodus. Update the three public web settings above and set your provider’s webhook variable to its HTTPS URL on the assigned webhooks host.
Some clusters mirror or block Docker Hub library/* images, so the bundled mongo
image may need an override with the same tag the chart pins (--set mongodb.bundled.image=mirror.gcr.io/library/mongo:8.3.13)
or an external / operator data store.
If your MongoDB nodes run Linux 6.19 or later, check the MongoDB startup guidance before choosing an image tag.
Optional services
mcp-manager and worker-analytics are both enabled by default. Turn either off for a
minimal install:
- MCP manager serves the Plugins screen. See MCP Manager.
- Analytics worker runs
WORKER_ROLE=analyticsfor Cockpit. It only does useful work on a self-hosted Enterprise license. See Analytics Worker.
Beta
To opt in to features that require the self-hosted beta setting, addBETA_FEATURES: "true" under global.config in your values file and apply it with helm upgrade. Each feature keeps its own plan and configuration requirements.
Upgrading
Save the values you customized, update your installer checkout to the target chart, then run the upgrade fromcharts/kodus. For OpenShift, keep the Route settings in your values file. Remove any existing imageTag override from the file to follow the new chart’s default version.
Save your custom settings as kodus-values.yaml.
Verify
doctor-k8s.sh inspects workloads, config, and the real health endpoints. For a redacted
support bundle, run ../../scripts/collect-diagnostics.sh -n kodus. Both run from charts/kodus
in a checkout of the repository.
Full Helm reference
Data-store operator setup, reusing existing databases, air-gapped installs,
secrets via ExternalSecrets, observability, and security defaults.