> ## Documentation Index
> Fetch the complete documentation index at: https://sariva.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy the Sariva platform

> Install the Sariva Helm chart using values.yaml, config/customer_config.yaml, and the runtime Secret.

ⓘINFO

**After the wizard — not a wizard prompt.** This page installs the Helm chart using `values.yaml`, `config/customer_config.yaml`, and the runtime Secret. Create the Secret first using [Runtime Secret](https://sariva.mintlify.site/install-setup/runtime-secret.md).

ⓘINFO

**Kubernetes paths only.** On the [Linux VM (Docker) path](https://sariva.mintlify.site/deploy/vm-docker-cc.md) there is no Helm chart, no `values.yaml`, and no Kubernetes Secret — the deployment step is `docker compose up -d` with the wizard-emitted compose file: [VM page, section 6](https://sariva.mintlify.site/deploy/vm-docker-cc.md#6-start-the-platform).

This is where the Sariva platform actually runs in your EKS cluster. This page assumes the runtime Secret already exists and focuses on the Helm deployment.

ⓘINFO

**Beta delivery.** The chart ships as a `.tgz` file we send you (`sariva-platform-<chartVersion>.tgz`); the container image is **public on GHCR** (`ghcr.io/sariva-inc/sariva-platform`), so there's nothing to pull manually and no registry credentials needed. No repo access, no git token.

⚠WARNING

Confirm your cluster has a **default StorageClass** first, or the Sariva platform's PVC hangs `Pending`:

```bash theme={null}
kubectl get storageclass
# One row must be marked (default). If none is, apply a gp3 default —
# see Prerequisites → AWS & EKS.
```

## 1. Confirm the runtime Secret exists

Before installing the chart, confirm that the previous page already created the `sariva-platform-extras` Secret.

```bash theme={null}
kubectl -n sariva-platform get secret sariva-platform-extras
```

Expected result:

```text theme={null}
NAME                      TYPE     DATA   AGE
sariva-platform-extras    Opaque   ...    ...
```

⚠WARNING

Do not continue with `helm install` until the runtime Secret exists. If the command above fails, complete [Create the runtime Secret](https://sariva.mintlify.site/install-setup/runtime-secret.md) first.

## 2. Deploy the beta chart with Helm

```bash theme={null}
helm install sariva-platform ./sariva-platform-<chartVersion>.tgz \
  -f values.yaml \
  --set-file customerConfig.contentYaml=config/customer_config.yaml \
  --set image.repository=ghcr.io/sariva-inc/sariva-platform \
  --set image.tag=<VERSION> \
  --set auth.existingSecret=sariva-platform-extras \
  --namespace sariva-platform \
  --create-namespace
```

`-f values.yaml` carries the rest of your config (LLM backend, `tf_state`, `extraEnv`); the `--set image.*` flags point the chart at the public GHCR image, overriding the placeholder in the wizard's `values.yaml`. `<VERSION>` is the clean release tag of the files we send you (e.g. `0.5.4`); `<chartVersion>` is the `.tgz` filename's version — they are independent and that's fine.

⚠WARNING

**You must pass `--set-file customerConfig.contentYaml=…`.** Without it the pod synthesises config from env-vars only and starts with **empty** `stages` / `cc_environments` / `kafka_clusters` (it logs `customer_config_synthesised_from_env reason=mount_not_present`). The chart only mounts your wizard-emitted `config/customer_config.yaml` when you pass this flag. On success the pod logs `customer_config_loaded_from_mounted_file`.

ⓘINFO

**Permissions the `helm install` runner needs.** This command creates a **namespace** and, inside it, a Deployment, Service, ServiceAccount, Secret, and **RBAC** objects (Role + RoleBinding). The identity running it therefore needs create/update on those resources — in practice **namespace-admin**, or **cluster-admin** if you let it create the namespace. If your access can't create namespaces, have a cluster admin run `kubectl create namespace sariva-platform` first, then drop `--create-namespace` from the command.

Verify the pod comes up:

```bash theme={null}
kubectl -n sariva-platform get pods
# NAME                               READY   STATUS    RESTARTS   AGE
# sariva-platform-xxxxxxxxxx-xxxxx   1/1     Running   0          45s
```

ⓘINFO

**`/healthz` and `/readyz` currently require a bearer.** The chart's probes pass a token via env-var, so the pod's own probes succeed — by design. But external uptime monitors / load-balancer checks hitting `/healthz` without a bearer get HTTP 401. Making these endpoints public is on the roadmap; this note exists so the 401 doesn't surprise you.

## Continue the deployment path

> [card] [Next: use your admin bearer](https://sariva.mintlify.site/install-setup/mint-bearer.md)
>
> Port-forward to the platform API and validate the saved `sariva_...` bearer.

> [card] [Back to deployment path](https://sariva.mintlify.site/deploy/aws-eks-cc.md)
>
> Return to the supported deployment path checklist.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.