Skip to content

Installation

Install self-hosted Crios from the release bundle provided by your Crios contact, which contains the Helm chart (helm/crios), the values template (deploy/values-org-template.yaml), the cluster manifests (deploy/manifests/) and helper scripts. Check requirements first.

1. Prepare the cluster

The chart renders cert-manager and Kyverno resources, so those controllers and their CRDs must exist first. The secrets-store CSI driver is optional (only vault.csiDriver.enabled, off by default, uses it). These are the versions the release is deployed with:

helm repo add jetstack https://charts.jetstack.io --force-update
helm repo add kyverno https://kyverno.github.io/kyverno --force-update
helm repo add secrets-store-csi-driver https://kubernetes-sigs.github.io/secrets-store-csi-driver/charts --force-update
helm repo update

helm upgrade --install cert-manager jetstack/cert-manager \
  --namespace cert-manager --create-namespace \
  --version v1.14.5 --set installCRDs=true --wait --timeout 5m

helm upgrade --install kyverno kyverno/kyverno \
  --namespace kyverno --create-namespace --version 3.8.1 --wait --timeout 5m

helm upgrade --install csi-secrets-store secrets-store-csi-driver/secrets-store-csi-driver \
  --namespace kube-system --version 1.4.4 --set syncSecret.enabled=true --wait --timeout 5m

Then create the letsencrypt-production ClusterIssuer the values template's ingresses use. deploy/manifests/cluster-issuers.yaml defines it, along with a Let's Encrypt staging issuer and an internal self-signed CA; replace the ACME contact email in it with your own before applying:

kubectl -n cert-manager wait --for=condition=Available deployment --all --timeout=180s
kubectl apply -f deploy/manifests/cluster-issuers.yaml

For production multi-tenant isolation, install Kata Containers and register the kata RuntimeClass. Finally, create the namespace:

kubectl create namespace crios

2. Create the image pull secret

Crios images live in a private registry. Use the read-only token from your Crios contact:

kubectl -n crios create secret docker-registry ghcr-pull \
  --docker-server=ghcr.io \
  --docker-username=<username-from-crios> \
  --docker-password=<token-from-crios>

The values template references this secret by the name ghcr-pull.

3. Create the license secret

Your license key has the form CRIOS-EL1-... (see licensing):

kubectl -n crios create secret generic crios-license \
  --from-literal=license-key="CRIOS-EL1-..."

Warning

Release images enforce licensing. Without a license, the platform starts but refuses new sessions and changes until a key is present. You can also install the key from the app after the first sign-in.

4. Fill in your values file

Copy the template and replace every <PLACEHOLDER>:

cp deploy/values-org-template.yaml deploy/values-<org>.yaml

The template asks you to set:

  • global.domain: your base domain, for example crios.example.com.
  • <STORAGE_CLASS>: a StorageClass that exists on the cluster. It appears several times: global.storageClass, orchestrator.sandboxWorkspace.storageClass, and each data store's own key (control-plane PostgreSQL, Redis, both vector stores, Vault and the git server), which would otherwise default to standard.
  • Every <VERSION>: orchestrator.image.tag, ui.image.tag, sandbox-manager.image.tag, stream-sidecar.image.tag, mcp-server.image.tag, every orchestrator.sandboxImages.* entry and sandbox-manager.sandboxImages.streamSidecar. Pin one real release tag such as v1.2.3 everywhere, never latest.
  • The hosts: orchestrator.ingress.host (api.<domain>), ui.ingress.host (app.<domain>), the git server's gitea.ingress.hosts[0].host (git.<domain>; the git chart only reads the hosts list), orchestrator.gitea.publicBaseURL (https://git.<domain>), and turn.<domain> in orchestrator.webrtc.turnURL and coturn.tls.host.
  • backup.ageRecipient: your age public key (see backups).
  • backup.s3.bucket, .endpoint (empty for AWS S3) and .credentialsSecret: the bucket backups go to, which the template marks required; nothing is kept on the cluster's own disk. Create the credentials Secret as shown in backups, or set the bucket later under Admin → Backups.
  • orchestrator.config.bootstrapAdmin: <ADMIN_EMAIL> and <ORG_NAME>, the first admin account and its organization.

The template also sets global.license.existingSecret: crios-license (the Secret from step 3), orchestrator.config.publicBaseURL to https://app.<ORG_DOMAIN> (email links such as invitations and password resets, connector webhook URLs and the GitHub one-click connect are built from it), an orchestrator autoscaler that starts at one replica, and a single-node Vault. Optional additions:

global:
  license:
    instanceId: ""   # only when your license is bound to one installation

orchestrator:
  config:
    bootstrapAdmin:
      # Optional: reference your own Secret. If omitted, the chart generates
      # a password into the <release>-generated-secrets Secret, key
      # "bootstrap-admin-password".
      existingSecret: crios-bootstrap-admin
      existingSecretPasswordKey: bootstrap-admin-password
  # Optional: outbound email from a Secret with the keys SMTP_HOST,
  # SMTP_PORT, SMTP_USERNAME, SMTP_PASSWORD, CRIOS_EMAIL_FROM and
  # CRIOS_EMAIL_FROM_NAME. You can also configure email in the app.
  smtp:
    existingSecret: crios-smtp

The template keeps the MCP server private. To let AI clients such as Claude or ChatGPT connect to Crios, and sign users in through OAuth, uncomment global.publicBaseURL and global.mcpPublicUrl in the template and give mcp-server an ingress on mcp.<domain>.

On first boot, if the user table is empty, the orchestrator creates this admin account as an owner of a new organization and as an instance admin; on every later boot the seed does nothing, so it is safe to keep. A password from your own Secret must be 8 to 128 characters with an uppercase letter, a lowercase letter, a digit and a special character, or the orchestrator refuses to start. LLM provider keys are not part of the values file; you add them in the app after signing in. The template does run the built-in starter model (vllm.enabled and orchestrator.starterModel.enabled), which serves organizations until they connect a provider. It needs an x86-64 CPU with AVX2, or arm64, and a one-time download from Hugging Face; set both keys to false if your nodes or network cannot provide that.

5. Build chart dependencies and run preflight

helm dependency update helm/crios
./scripts/preflight.sh --namespace crios --storage-class <your-storage-class> \
  --values deploy/values-<org>.yaml

Fix any FAIL lines before continuing; WARN lines are advisory, but read them (Kata, the cert-manager, Kyverno and CSI CRDs, capacity, and the CPU of the nodes that run the built-in starter model and voice).

6. Install

helm upgrade --install crios helm/crios -n crios --create-namespace \
  --values deploy/values-<org>.yaml --timeout 10m

First boot takes a few minutes: PostgreSQL initializes, Vault waits for initialization (next step), the vector stores and git server start, and the orchestrator runs its database migrations. Some pods restart once or twice while dependencies settle; CrashLoopBackOff for more than five minutes is not normal.

On clusters with Kata, apply the Kata-default Kyverno policy once the chart is up. It applies to namespaces labelled crios.dev/kata-default=true, so label yours first:

kubectl label ns <namespace> crios.dev/kata-default=true
kubectl apply -f deploy/manifests/kyverno-kata-default.yaml

7. Initialize Vault (first boot only)

Fresh clusters start Vault uninitialized and sealed, and the orchestrator's init containers wait for it. Run this once, then upgrade again so the post-install hooks can finish the bootstrap (auth method, policies, roles, default secret paths).

The unseal key and the root token go to crios-vault-keys, a namespace the chart creates for them and keeps on uninstall. The orchestrator can read every Secret in its own namespace but none in that one, and the root token opens every secret in Vault. The commands pass both values on stdin, so neither shows up in a process list:

# 1. Initialize (single-share seal for single-node installs). The output
#    holds the unseal key and the root token; it stays in this variable.
INIT=$(kubectl -n crios exec crios-vault-0 -c vault -- \
  vault operator init -key-shares=1 -key-threshold=1 -format=json)

# 2. Store both in the key namespace. kubectl warns that the Secrets lack a
#    last-applied annotation: the chart created them empty, so that is expected.
printf '%s' "$INIT" | jq -j '.unseal_keys_b64[0]' \
  | kubectl -n crios-vault-keys create secret generic vault-unseal-key \
      --from-file=unseal-key=/dev/stdin --dry-run=client -o yaml \
  | kubectl apply -f -
printf '%s' "$INIT" | jq -j '.root_token' \
  | kubectl -n crios-vault-keys create secret generic crios-vault-init-token \
      --from-file=token=/dev/stdin --dry-run=client -o yaml \
  | kubectl apply -f -

# 3. Wait for the unsealer. It reads the key every 5 seconds, so nothing
#    needs a restart; the Secret takes up to a minute to reach it.
until kubectl -n crios exec crios-vault-0 -c vault -- vault status >/dev/null 2>&1; do sleep 5; done
kubectl -n crios exec crios-vault-0 -c vault -- vault status   # Initialized true, Sealed false

# 4. Re-run the install: the post-upgrade hooks complete the bootstrap
helm upgrade --install crios helm/crios -n crios --values deploy/values-<org>.yaml

The chart's init job enables the secret/ kv-v2 engine and writes the Kubernetes auth method, the crios policy and role, and the default secret paths. Store the unseal key and the root token somewhere safe outside the cluster (a password manager), and not in the bucket your backups go to, then unset INIT. The root token is the break-glass credential for the whole secret store, and backups do not contain the unseal key, which you need to unseal a restored Vault (see backups).

If the unsealer does not unseal Vault within a few minutes, its log says why:

kubectl -n crios-vault-keys logs deploy/crios-vault-unsealer --tail=5

8. Point DNS at the load balancer

Find the ingress controller's external address:

kubectl -n crios get svc crios-ingress-nginx-controller

Create A (or CNAME) records for app.<domain>, api.<domain>, git.<domain> and the wildcard *.<domain> pointing at it. Certificates issue automatically once DNS resolves.

9. First sign-in

Open https://app.<your-domain> and sign in with the bootstrap admin email and password. If the chart generated the password, read it with:

kubectl -n crios get secret crios-generated-secrets \
  -o jsonpath='{.data.bootstrap-admin-password}' | base64 -d

Then:

  1. Check public registration. With allowSignups: false (the template's value) registration is closed for the whole deployment and no organization setting can reopen it. If you set allowSignups: true, User registration under Organization → Settings decides; it starts enabled, so set it to Disabled unless you want anyone who can reach the sign-in page to join (details).
  2. Turn on two-factor authentication for your account under Settings → Security.
  3. Confirm the license under Admin → License (details).
  4. Connect at least one AI provider under Organization → Providers and point the routes at it: Connect an AI provider walks through it. Until then the organization runs on the built-in starter model, if you enabled it.
  5. If you did not provide an SMTP Secret, configure email under Admin → Instance Settings (Instance administration) so invitations and password resets can be delivered.
  6. Invite your users (users & roles).

10. Sanity checks

kubectl -n crios get pods                 # everything Running/Completed
kubectl -n crios get certificates         # READY True for each host
kubectl -n crios logs deploy/crios-orchestrator | head -50
curl https://api.<your-domain>/readyz

The orchestrator log should show Connected to database, Database migrations complete and a License: state=… line. Admin → Health shows every component's status. Start a small test project via the quickstart to confirm end-to-end operation, then confirm backups work by triggering one.