> ## 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.

# AWS EKS + Confluent Platform (CFK)

> Install the Sariva AI Platform on AWS EKS and run self-managed Confluent Platform on the same Kubernetes fleet via Confluent for Kubernetes (CFK) — with GitHub as the git host and your reconciler applying Kubernetes manifests.

This is a supported deployment path. It is the page the wizard echoes at the end of setup:

```
Deployment path: AWS EKS · Confluent CFK (on Kubernetes) · GitHub · GitHub Actions
Follow the exact steps: docs.sariva.ai/deploy/aws-eks-cfk
```

| Dimension | Selection |
| - | - |
| Cloud + Sariva deployment | Amazon EKS |
| Kafka flavor | Confluent Platform on Kubernetes, managed by the CFK operator |
| Confluent Platform package | **Community or Enterprise — chosen per cluster in the deploy conversation, not in the wizard** → [Confluent Platform package](https://sariva.mintlify.site/prerequisites/cfk/package.md) |
| Git host | GitHub |
| Manifest applier | GitHub Actions `kubectl apply`, Argo CD, Flux, or manual kubectl (see [Applier](#manifest-applier) below) |
| Terraform state backend | **Not used** — this path emits Kubernetes manifests, not Terraform; the wizard skips the state-backend step |
| Data-plane security | mTLS via cert-manager — **no Confluent Cloud API keys are needed** |
| LLM backend | Claude API, Ollama, or AWS Bedrock |
| Collaboration | One chat surface — Slack or Microsoft Teams — optional (a second is a hand edit later) — Teams on EKS needs public HTTPS to `/api/teams/messages`; the chart has no Ingress, and this is not yet walked; paging optional — PagerDuty or xMatters, one per install |

ⓘINFO

**Supported deployment path.** This page is the ordered map for this supported combination. Follow the cards that match your selections, then enter the prepared values when the setup wizard asks for them. Sariva **emits** the CFK manifests and opens pull requests — it never applies them and never installs the CFK operator, cert-manager, or your reconciler.

## Confluent Platform package: Community or Enterprise

The package is a **per-cluster decision made in the deploy conversation** — when you DM `deploy <name>`, Sariva confirms the package (with the tier and the name) before anything is emitted, so a Community POC and an Enterprise prod cluster can share one platform. The wizard asks only whether you hold an Enterprise **license** key (platform-wide). The packages differ in licensing, images, and how topics are managed — read the comparison before your first deploy: → **[Confluent Platform package](https://sariva.mintlify.site/prerequisites/cfk/package.md)** (card 2 in the path map below).

## Manifest applier

Sariva opens a **pull request** for every infrastructure change; your reconciler applies the merged manifests with its own credentials. The wizard asks which one:

* **GitHub Actions (kubectl apply).** The scaffold emits a ready-to-use workflow, and the platform's CR-status watcher auto-registers each cluster once its `Kafka` custom resource reports Ready.
* **Argo CD / Flux.** Point your reconciler at the emitted kustomize directories. The manifests carry no tool-specific ordering annotations — sequence the install waves in your reconciler.
* **Manual kubectl.** Apply the same kustomize directories yourself, then register clusters with `sariva cluster register` or the REST API.

## Path map

ⓘINFO

**Deploy Sariva before the first apply.** The Sariva pod does not need the Confluent Platform cluster to exist before Helm install. Deploying the platform first means the CR-status watcher can auto-register the cluster the moment its `Kafka` custom resource reports Ready.

> [card] [1. AWS EKS runtime](https://sariva.mintlify.site/prerequisites/aws/eks.md)
>
> Confirm the EKS cluster, kubectl access, Helm, the **EBS CSI driver, and a default `gp3` StorageClass** — broker and KRaft volumes stay `Pending` without them.

> [card] [2. Understand the Confluent Platform packages](https://sariva.mintlify.site/prerequisites/cfk/package.md)
>
> Community vs Enterprise is chosen **per cluster when you deploy it in the DM** — not in the wizard. Decide now whether you hold an Enterprise license key: no key → 30-day evaluation (no Secret needed); key → create the license Secret with the real key before applying. See [Confluent Platform package](https://sariva.mintlify.site/prerequisites/cfk/package.md). Prepares the **license question** in the wizard.

> [card] [3. Permissions model](https://sariva.mintlify.site/prerequisites/cfk/permissions.md)
>
> Review every permission Sariva needs — the six-kind CFK reader Role, zero Secret access in your Kafka namespace, and the pod-health IAM/RBAC per topology (same EKS, remote, cross-account).

> [card] [4. mTLS certificate source](https://sariva.mintlify.site/prerequisites/cfk/mtls.md)
>
> Choose the certificate source (self-signed emitted end-to-end; bring-your-own-CA is a validated swap) and prepare the **mTLS question** in the wizard's CFK block.

> [card] [5. GitHub repository and Sariva token](https://sariva.mintlify.site/prerequisites/github.md)
>
> Create or select the GitOps repository and the Sariva platform GitHub token. Sariva opens topic and cluster pull requests here.

> [card] [6. LLM backend](https://sariva.mintlify.site/prerequisites/llm-backend.md)
>
> Choose Claude API, Ollama, or Bedrock. Prepares **Wizard Step 4 — LLM backend**.

> [card] [7. Slack](https://sariva.mintlify.site/prerequisites/slack/overview.md)
>
> Optional. Configure Slack if chat or approval workflows are enabled.

> [card] [8. Paging (PagerDuty or xMatters)](https://sariva.mintlify.site/prerequisites/paging/pagerduty.md)
>
> Optional. One paging provider per install — [PagerDuty](https://sariva.mintlify.site/prerequisites/paging/pagerduty.md) or [xMatters](https://sariva.mintlify.site/prerequisites/paging/xmatters.md).

> [card] [9. Install the Sariva CLI](https://sariva.mintlify.site/getting-started/install-cli.md)
>
> Install the local `sariva` CLI from the delivered wheel. Required before running the wizard.

> [card] [10. Run the setup wizard](https://sariva.mintlify.site/install-setup/wizard-cfk.md)
>
> Generate `config/customer_config.yaml`, `values.yaml`, `setup-secret.sh`, and the CFK manifest scaffold. The CFK block asks the Enterprise-license posture, Kafka authorization (ACLs — default on), mTLS certificate source, applier, StorageClass, namespace, the EKS cluster Sariva itself runs on, and that cluster's AWS account ID; the Terraform state-backend step is skipped on this path.

> [card] [11. Review generated files](https://sariva.mintlify.site/install-setup/generated-files.md)
>
> The scaffold contains a per-EKS `cfk-operator/` bootstrap directory (and, with GitHub Actions as the applier, the kubectl-apply workflow) — **no cluster manifests**: every CP cluster is deployed later by DM and arrives as a pull request. The README is the install guide for waves 1–2 below.

> [card] 12. Install cert-manager and the CFK operator (wave 1)
>
> Helm-install cert-manager and the CFK operator per the scaffold README. Then create the image-pull Secret — and, on the licensed Enterprise path, the license Secret with your real key — out-of-band. Sariva never holds either value.

> [card] [13. Apply the operator directory (wave 2)](https://sariva.mintlify.site/install-setup/cfk-certificates.md)
>
> `kubectl apply -k` the `cfk-operator/` directory: namespace plus the cert-manager chain (self-signed CA and the CA issuer that signs each component certificate).

> [card] [14. Create the runtime Secret](https://sariva.mintlify.site/install-setup/runtime-secret.md)
>
> Fill `setup-secret.sh` and create `sariva-platform-extras` before Helm-installing Sariva.

> [card] [15. Deploy Sariva with Helm](https://sariva.mintlify.site/install-setup/deploy-platform.md)
>
> Install the Sariva platform chart on EKS. Deploying before wave 3 lets the watcher auto-register the cluster as it comes up.

> [card] [16. Deploy the first cluster by DM (wave 3)](https://sariva.mintlify.site/operate/deploy-cluster-cfk.md)
>
> DM the bot: `deploy <name>`. Sariva fit-checks, you approve, and it opens a PR with the cluster manifests under `<stage>/<eks>/clusters/<name>/manifests/`. Merge it; your applier runs `kubectl apply -k` on that directory. CFK reconciles KRaftControllers first, then brokers, then Schema Registry; all component certificates are issued by cert-manager automatically.

> [card] [17. Confirm registration](https://sariva.mintlify.site/connecting-clusters/cfk.md)
>
> With the watcher enabled the cluster auto-registers when its `Kafka` CR reports Ready; otherwise register it with `sariva cluster register --flavor cp_on_eks`. Sariva's own mTLS client certificate lives in Sariva's namespace — no Secret access in your Kafka namespace is required.
>
> **On the cert-manager path (self-signed CA or your own Issuer) there is no credential step.** Sariva emitted its own mTLS client certificate alongside the cluster and wires it as the cluster's credential automatically, so the cluster comes up `ready` / `healthy` with nothing further to do.
>
> **Only if you chose CFK auto-generated certs or bring-your-own TLS Secret** do you attach the credential once, after the first apply — there is no Sariva-emitted Secret to point at:
>
> ```bash theme={null}
> sariva cluster patch --api-url <url> --alias <alias> \
>   --credentials-ref k8s://<namespace>/<secret>
> ```
>
> (or the DM equivalent). The reference can also be an AWS Secrets Manager or SSM ARN.

> [card] [18. Validate and operate](https://sariva.mintlify.site/install-setup/health-check.md)
>
> Run `sariva validate all`, then ask Sariva in Slack: `is <cluster> healthy?` and grow the platform with `add topic <name> to <cluster>`.

## What this path creates or uses

| Resource | Created by | Why it exists |
| - | - | - |
| cert-manager and the CFK operator | You, via Helm (wave 1) | Certificate issuance and Confluent Platform reconciliation |
| Image-pull Secret (and, on licensed Enterprise, the license Secret) | You, out-of-band | Referenced by the manifests; Sariva never holds the values |
| cert-manager CA chain | Wave 2 apply | Self-signed CA and issuer that sign every component certificate (keys are issued in PKCS#8) |
| Confluent Platform CRs (Kafka, KRaftController, SchemaRegistry) | The [DM-deploy](https://sariva.mintlify.site/operate/deploy-cluster-cfk.md) PR, applied by your reconciler (wave 3) | The Kafka cluster itself; the starter footprint is 3 brokers + 3 KRaft controllers + Schema Registry |
| Kubernetes Secret `sariva-platform-extras` | `setup-secret.sh` | Holds runtime keys such as LLM, Slack, GitHub, and admin bearer values |
| Topic manifests under `clusters/<name>/manifests/topics/` | Sariva pull requests | One file per topic: a KafkaTopic CR (Enterprise) or an idempotent `kafka-topics` Job (Community) |

## Optional choices inside this path

| Choice | Use when | Notes |
| - | - | - |
| mTLS certificate source | Default is cert-manager with a self-signed CA — recommended to start | To use your own CA, seed the CA Secret and re-create the issuer after the self-signed scaffold is up; component certificates re-issue from your CA. On either cert-manager option Sariva auto-wires its own client cert as the cluster credential (step 17); CFK auto-generated or BYO-Secret sources need a one-time `sariva cluster patch --credentials-ref` |
| Enterprise package | You need RBAC/MDS, audit logs, Tiered Storage, or Cluster Linking | No key → 30-day evaluation (no license Secret emitted); key → licensed via the Secret — [details](https://sariva.mintlify.site/prerequisites/cfk/package.md); never scale to zero during an active trial |
| Permissions model | You want the full RBAC/IAM surface per topology (same EKS, different EKS, cross-account) | [Permissions model](https://sariva.mintlify.site/prerequisites/cfk/permissions.md) |
| Metrics | You want to know where throughput/heap numbers come from, or metrics read as unavailable | [Metrics: how they work](https://sariva.mintlify.site/prerequisites/cfk/metrics.md) |
| Slack | You want chat and approval workflows | [Slack prerequisites](https://sariva.mintlify.site/prerequisites/slack/overview.md) |
| Paging | You want alert escalation | [PagerDuty](https://sariva.mintlify.site/prerequisites/paging/pagerduty.md) · [xMatters](https://sariva.mintlify.site/prerequisites/paging/xmatters.md) |


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