Skip to main content
Prefer a cluster over a single VM? Kodus ships Helm charts for Kubernetes and OpenShift in the kodus-installer repository. This page is the overview. The charts’ README is the complete reference: air-gapped installs, ExternalSecrets, operators, observability and hardening.

Requirements

  • Helm 3.8+
  • Kubernetes 1.28+ or OpenShift 4.14+
  • For mode: operator data stores, the matching operator installed on the cluster

Quick start (bundled data stores)

The default bundled 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.
The chart version and the Kodus image version are separate. The chart defaults to its 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.
The webhooks service needs its own public host. Set ingress.hosts.webhooks.host (or route.hosts.webhooks.host on OpenShift) to a dedicated hostname and the chart derives each provider’s *_CODE_MANAGEMENT_WEBHOOK URL for you. If you leave it at the placeholder, set global.config.API_GITHUB_CODE_MANAGEMENT_WEBHOOK (or the variable of your provider) yourself, or connected repositories will never trigger reviews.
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.
WEB_HOSTNAME_API is not a public hostname. The web pod calls the API server-side through /api/proxy, and WEB_HOSTNAME_API and WEB_PORT_API are the address of the API inside the cluster. The chart defaults them to <release>-api and 3001. Pointing WEB_HOSTNAME_API at your public Ingress or Route sends the web pod out to the router and back, which can fail with fetch failed. Git providers send events to their configured public webhook URLs. For example, Bitbucket uses the URL in GLOBAL_BITBUCKET_CODE_MANAGEMENT_WEBHOOK and Azure Repos uses GLOBAL_AZURE_REPOS_CODE_MANAGEMENT_WEBHOOK.

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 the values-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:
Use hostnames one label deep under the apps domain, such as 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=analytics for 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, add BETA_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 from charts/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.
Back up your databases and preserve your Secrets before upgrading. Helm rollback restores the previous deployment. Database migrations still need their own recovery plan.

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.