Skip to main content
The chart at deploy/helm/opencluster is not a complete OpenCluster installation. It deploys the control plane only. You must supply PostgreSQL, ingress, and TLS termination. A separately deployed browser console is optional and needs same-origin routing.

Prerequisites

You need Kubernetes, Helm 3, a reachable PostgreSQL database, and two Secrets.
  • opencluster-database holds postgres-dsn.
  • opencluster-credentials holds sealing-key.
To enable model generation, set both model.provider and model.name, add the credential as model-key in opencluster-credentials, and allow outbound HTTPS to the selected provider. For a new database, provision a random 32-byte encryption key (raw or base64). For an existing database, supply its original key. Back it up separately from PostgreSQL and reuse the same key across upgrades, restores, and replicas. Keep credentials in Secrets, not Helm values or command history. Keep the deployment private until the first Admin account is created.

Install

Set image.repository to the registry repository you use for OpenCluster and image.tag to the release you want to deploy. The chart requires both values and defaults to IfNotPresent. Keep the deployment inaccessible to untrusted workloads until signup. server.publicURL must match the browser-facing origin. This API-only example uses a private port-forward at http://localhost:8081. If using a separate local frontend, configure its same-origin API proxy and set this URL to the frontend origin instead.
From a checkout of the matching release, create the namespace and Secrets, then render and run the migration Job. Wait for it to complete before installing the control plane:
Check the migration logs and the control-plane rollout:

Create the first account privately

The chart’s default ClusterIP Service is not internet-facing, but other Pods in the cluster may still be able to reach it. Restrict service and Pod access using your existing Kubernetes network controls until the first Admin is created. Do not enable public ingress, NodePort, or LoadBalancer exposure during initial signup. Use Kubernetes-authenticated port-forwarding bound to workstation loopback:
Submit the initial account to POST http://localhost:8081/api/v1/auth/local/bootstrap with Origin: http://localhost:8081, using the API-only example in Compose. With a compatible local frontend, use its private /setup form and same-origin proxy instead. The backend creates the Organization, password, Membership, audit record, and session atomically. No setup token, flag, or additional sign-in is required.

Publish after initialization

After confirming the Admin exists, change server.publicURL to the final HTTPS browser origin and upgrade the Deployment before enabling public ingress. Normal HTTP probes remain active throughout. Configure the public proxy to preserve Origin and cookie attributes. Sign in again at the final hostname because localhost cookies do not transfer across hosts. If the database is reset or replaced, protect the installation again before it can accept traffic. An empty database permits first-user registration.

Verify

The rollout proves only that the control-plane component is ready. The installation is usable only after ingress routes /api/v1, /webhooks/v1, /healthz, and /readyz to the HTTP Service on the configured public origin. Verify both probes through that route:
Both commands must succeed before the deployment accepts user traffic.

Optional Relay listener

Set relay.enabled=true, provide at least one relay.spkiPins value, and name a TLS Secret in relay.tls.existingSecret. The Secret must contain the configured certificate and private-key keys. Expose the Relay port only to customer Relays. They initiate the connection and pin the control-plane public key.

Resources and upgrades

Set CPU and memory requests and limits based on measured workloads. Before upgrading, stop the control plane and back up PostgreSQL and its encryption key separately. Run the migration Job for the matching release, then upgrade the Deployment with the existing database and credentials. To keep generation enabled, include model.provider and model.name in the upgrade values with the existing model credential. Run one migration Job at a time per database. Applied migrations are skipped on repeat runs. Unsupported database histories are rejected without resetting data. Do not run mixed application versions against one database.

Common failure and recovery

If the rollout stalls, inspect kubectl --namespace opencluster describe deployment/opencluster-opencluster and the control-plane Pod logs. Correct missing Secret keys, database reachability, or model provider configuration, then rerun the Helm command. A ready Pod does not compensate for missing ingress or TLS routing.

Next step

After private signup and public routing verification, connect a source and ask a question.