Cake Agents ships a Helm chart that installs the control plane, RBAC, and optional integration secrets. The same chart is used for dev clusters and production.Documentation Index
Fetch the complete documentation index at: https://docs.cake.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
kubectlconfigured for the target cluster (for examplecake-aws-dev-nonprod).- Valid AWS credentials if your cluster uses AWS SSO — run
aws sso login. helminstalled locally.
Deploy to the dev cluster
Thescripts/deploy-dev helper wraps helm upgrade --install with the
correct values for the dev environment.
CI deploys
The workflow at.github/workflows/deploy-helm-dev.yml runs the same script.
To enable it:
- Set the repository variable
CAKE_AGENTS_EKS_CLUSTER_NAME. - Set the repository secret
CAKE_AGENTS_EKS_DEPLOY_ROLE_ARN. - Dispatch the workflow manually, or call it from another workflow via
workflow_callwith animage_taginput.
What the chart installs
- Deployment, Service, ServiceAccount for the web app.
- RBAC — namespace
getplus permissions to manage session workloads in the release namespace. SESSION_NAMESPACEenv var set to the release namespace so the app schedules session pods in the right place.- Gateway / VirtualService / AuthorizationPolicy for Istio ingress.
- Integration secrets for Better Auth, Linear, LiteLLM, Slack, and SSO providers (created from values or external secrets).
Gotchas
- In-cluster Postgres 18 — Mount the PVC at
/var/lib/postgresql, not.../data. For disposable dev data, delete the release’s Postgres PVC once so a fresh data directory is created. - OpenCode per session — OpenCode runs inside each session’s data plane
pod on port 4096. The control plane uses per-session
kubectl port-forwardout of cluster; in-cluster it talks tosvc/session-<id>directly.